O'Reilly logo

Efficient C++ Performance Programming Techniques by David Mayhew, Dov Bulka

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Inlining Details

The concept of inlining, although relatively simple on its surface, turns out to have its complications. Although we believe that it is important to understand inlining and apply it properly, we also believe that inlining eventually will be a compile- and profile-based optimization that will be performed by compiler/profiler/optimizer tools for you. We also believe that the automatic tools eventually will be able to do a more accurate job of inlining than you will. Unfortunately, the current crop of commercially available compilers lack the sophistication to do anything that even approaches automatic optimized inlining. It therefore falls to you to learn all the subtleties associated with inlining and to deal with the cumbersome ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required