> ...
> I think the only way to find out is to test it.
> On the face of it, short functions, repeatedly used, should benefit from it.

Then programming for Micro controller I quite often then there is no or little 
difference between different methods for other reasons check size of compiled 
code constructions to learn which one produce the smallest code. I would not be 
suprised if smaller code with fewer instructions also execute faster. Most of 
time difference in execution time and size is small and not very imortant 
though I still consider it good to learn otherwise optimizations might go the 
wrong way or constructions consuming quite large resources may be used without 
a good reason.

What is missing is a tool to calculate worst case execution time.


Nicklas Karlsson


_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to