Principles of Mechanical Sympathy

Principles of mechanical sympathy for creating performant software: Memory access patterns, false sharing, the single-writer principle, and natural batching.

martinfowler.com