Why is it that the current heuristic for code efficiency is paying more attention to memory access patterns than to operations counts, when the opposite was true two decades ago?

Why is it that the current heuristic for code efficiency is paying more attention to memory access patterns than to operations counts, when the opposite was true two decades ago?



Because the speed of memory has not kept pace with the speed of processors. Since this trend will continue, the importance of limited and coherent memory access for optimization should only increase.

Popular posts from this blog

After analyzing the model, your manager has informed that your regression model is suffering from multicollinearity. How would you check if he's true? Without losing any information, can you still build a better model?

Is rotation necessary in PCA? If yes, Why? What will happen if you don't rotate the components?

What does Latency mean?