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

Chapter 8. Inlining Basics

This chapter leaves the realm of design and begins a focus on speed mechanisms that are largely design independent. These techniques will improve any program's performance, independent of its overall design quality, However, these mechanistic techniques will not make badly designed programs fast—it will just make them faster than they were. They will not make selection sorts faster than quick sorts, though they can change the data set size of a problem that can be efficiently handled by an otherwise less efficient algorithm. Some of these techniques are free; that is, they are pure performance gains with no negative impacts on other software quality characteristics. Most of these techniques, however, force a designer ...

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