M
Michael Foukarakis
Ben Bacarisse a écrit :
Inline will be a bad choice in general when then size of the inlined function's body
is bigger than the calling sequence of the normal call. I.e. when there is an
increase in the size of the code.
This is false. It depends on the amount of times that function is
called.
newbie-mode-on: That is, if it's only called once, inlining is faster
than calling. Regardless of instruction cache size.
It's for people who don't like macros.
Clever reference to the gcc documentation. Too bad they don't exactly
accomplish the same goals.