Warp wrote:
> Compilers use some kind of heuristic to determine whether it's beneficial
> to inline some function or not. What those heuristics are, I don't know.
>
> From the programmer's point of view, it doesn't really matter. The program
> will behave identically in either case (except maybe a small difference in
> execution speed).
Right. Well I guess that more or less answers my question. I was just a
little worried that maybe if you don't explicitly say "inline", the
compiler will never attempt to inline it and hence introduce way too
much overhead. It seems that's not the case...
Post a reply to this message
|