[Tinyos-devel] call-by-value vs. -pointer
Paul Stickney
pstickne at gmail.com
Thu Jun 12 07:22:37 PDT 2008
> and there is generally a
> perfomance penalty when passing them by value over the stack (more
> code size, slower execution).
It would be interesting to see how much this penalty is when amortized.
With pointers it's easier to get caught in, or rely on, some side-effect--
not necessarily something I'd want to introduce as a potential problem
(to working code) unless there is an adequate gain.
Paul
More information about the Tinyos-devel
mailing list