[En-Nut-Discussion] Bugs in Uart.c - Return type
Alain M.
alainm at pobox.com
Tue Mar 25 21:27:57 CET 2008
Moritz Struebe escreveu:
[...]
> 4: Once again the return types are often much bigger then needed. This
> costs registers and performance.
What do you mean?
- In ARM the fastest should be "int" which would be 32 bits.
- in AVR I don't know... but if it is not "int" then optimization needs
a special type that generates smaller code in both cases
Alain
More information about the En-Nut-Discussion
mailing list