Binary Trees: Dynamic Allocation's Cache Cost

General binary search trees, especially when nodes are dynamically allocated and scattered throughout memory, often lead to cache misses during traversal because of poor spatial locality, unlike cache-optimized structures like B-trees.

Sources

Open the full topic