We investigate the secret connection between class layout and software performance. And of course, how to make your software faster.

We investigate the secret connection between class layout and software performance. And of course, how to make your software faster.
We continue the investigation from the previous post, trying to measure how the memory subsystem affects software performance. We write small programs (kernels) to quantify the effects of cache line, memory latency, TLB cache, cache conflicts, vectorization and branch prediction.