Updates:
Labels: -Type-Task Type-Enhancement
Comment #4 on issue 190 by robhamerling: The use of "pragma inline"s in the
LCD_HD44780 libraries.
http://code.google.com/p/jallib/issues/detail?id=190
The LCD samples may not be representative, but give at least some
indication of the use of memory and stack levels. A comparison of compiler
logs of the samples shows that without 'pragma inline' the hd44780 lcd
samples use significantly less code memory and somewhat less data memory
than with it. Most samples use 1 more stack level (3 vs 2), while some
sample use the same number of stack levels.
A possible difference in execution speed is probably negligible because of
the built-in (40 us) delay with every byte written.
So except in cases where stack levels are a bottle neck it seems
recommendable to remove the 'pragma inline' directives from the LCD
libraries.
--
You received this message because you are subscribed to the Google Groups
"jallib" group.
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.