Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

2
  • Thanks for the link. Unfortunately it doesn't describe all the possible optimizations that might happen. Just lists the functions. Commented Oct 21, 2013 at 16:46
  • 1
    Once a function is in the compiler, the compiler is free to provide any code substitution that exhibits the same behaviour. In the case of printf, it can examine the format string and generate code accordingly. A library function cannot do this. Commented Oct 21, 2013 at 16:52