"缓存友好"的代码是什么?

What is “cache-friendly” code?

c++ performance caching memory cpu-cache
提问时间: 2013-05-22 18:37:01

为什么不循环的顺序会影响性能时在二维数组循环?

Why does the order of the loops affect performance when iterating over a 2D array?

c performance for-loop optimization cpu-cache
提问时间: 2012-03-30 02:17:32