Chapter 13. Coding Optimizations

If our discussion centered around domain- or application-specific issues, it would be of very little use for most people. It would benefit only programmers working in that specific domain or a related application. To appeal to a larger audience we must address the performance issues that spread across programming domains and are likely to appear in a random application, without making any assumptions about the problem domain.

Although manifestations of performance issues are infinite, they may be classified into a finite set of types. Each type represents a set of equivalent performance bugs. They may look different on the surface, but they are essentially the same. As an example, take redundant computations, ...

Get Efficient C++ Performance Programming Techniques now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.