itoa'd you so?

Steve smorrey at gmail.com
Fri Sep 21 23:13:42 MDT 2007


Correct me if I'm wrong, but I thought inlining was not a guarantee,
but only a suggestion.


On 9/21/07, Michael L Torrie <torriem at chem.byu.edu> wrote:
> Steve wrote:
> > How much function call overhead is this incurring?
> > Would it run faster if you took the digit function and just embedded
> > it directly into the itoa function?
>
> Practically nothing, since it's declared as "inline."  The compiler *is*
> embedding it directly in the itoa function.
>
>
>
> >
>
>
> /*
> PLUG: http://plug.org, #utah on irc.freenode.net
> Unsubscribe: http://plug.org/mailman/options/plug
> Don't fear the penguin.
> */
>



More information about the PLUG mailing list