Optimizations:
*
Introduction to performance
C and C++ are well known as high-performance languages - largely due to the heavy amount of code customization, allowing a user to specify performance by choice of structure.
When optimizing it is important to benchmark relevant code and completely understand how the code will be used.
Common optimization mistakes include:
Typical optimization goals are:
Optimized code can have negative side effects, including: