[net2-wg] Proposal for dissemination structure and interfaces
Kyle Jamieson
jamieson at MIT.EDU
Sun Dec 18 19:43:20 PST 2005
> >How about simplifying this down to
> >
> >interface DisseminationValue <t> {
> > event void changed(const t*);
> >}
>
> The one issue here is that it requires the component above to store
> the pointer in its frame. So let's say there's some configuration
> parameter. Every component that wants to be able to access the
> configuration parameter needs to store a pointer to it, which wastes
> RAM.
So therefore this design choice would cost 1 byte per component. I'd
argue that with current and future low-end mote designs at 10 Kbytes
of RAM and up, we should be preferring simplicity over optimizing every
ounce of RAM space?
Kyle
More information about the net2-wg
mailing list