Hi guys, I'm updating the LCD in a loop about 10x/sec. I don't notice any performance difference. I wouldn't expect any either, since the only thing that gets added by removing the "inline" is the call and return for the subroutine and the stack use for the parameters...which in this case is a single byte.
And isn't this the point to having a library?...to have blocks of code that get called over and over without taking up additional space? Seems odd to me to have blocks of code that get repeated, especially since they aren't time sensitive. Rob, you have a keen eye. I am using "no-variable-reuse", but the code and data memory used is smallest with no "inline"s: regular compile, with inlines: 866 program, 36 data regular compile, w/o inlines: 483 program, 35 data compile no-reuse, with inlines: 873 program, 88 data compile no-reuse, w/oinlines: 483 program, 43 data I favor removing the "inline"s. Mike -- You received this message because you are subscribed to the Google Groups "jallib" group. To view this discussion on the web visit https://groups.google.com/d/msg/jallib/-/kDV1ddBgbowJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/jallib?hl=en.
