Developers often believe that software performance follows a Pareto distribution: 80% of the running time is spent in 20% of the code. Using this model, you can write most of your code without any care for performance and focus on the narrow pieces of code that are performance sensitive. Engineers l
Really nice article. It’s almost always that optimizing a piece of code involves restructuring the data structure it operates on, instead of altering the details of how it operates on this datastructure. Optimizing compilers are already really good at the latter, while doing nothing about the former