Writing Efficient C++

Marc Gregoire · 2021

This chapter discusses the key aspects of efficiency and performance in C++ programs and provides several specific tips and techniques for designing and writing more efficient applications. It focuses on speed performance. There are two important things to remember from this chapter. The first thing is that the readers should not get too obsessed with performance while designing and coding. The second and most important thing to remember from this chapter is that design-level efficiency is far more important than language-level efficiency. It is often helpful to profile the readers' program to determine which parts of the code require optimization. There are many profiling tools available that analyze programs as they run to generate data about their performance.

Read the paper · More papers on PaperTik