Chapter 11. Optimization – General Principles and Profiling Techniques
"We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil." | ||
--Donald Knuth |
This chapter is about optimization and provides a set of general principles and profiling techniques. It gives the three rules of optimization every developer should be aware of and provides guidelines on optimization. Last, it focuses on how to find bottlenecks.