Martin Buchholz <martin(a)xemacs.org> writes:
The particular case of digit_to_number is sad. Inlining the
function always saves code size AND execution time, so gcc should
inline it with -O2.
I don't think gcc should inline any function with -O2.
Project: You could write a program to determine all static functions
in XEmacs that are called only once. Then add inline to their
function definitions.
What would this buy us, exactly? I may have some free time, but not
*that* much free time! :-)
--
Hrvoje Niksic <hniksic(a)srce.hr> | Student at FER Zagreb, Croatia
--------------------------------+--------------------------------
Try to use "ad nauseam" at least once per flame. It doesn't mean
anything; but it gives that polished feel to your postings.