Cache Conscious Heap
Assume d keys fit in a cache line.
d-heap - each node has d children.
All children of a node are on the same cache line.
15
x
8
9
5
25
12
x
x
3
25
12
15
5
9
7
10
3
8
2
3
4
5
6
7
8
9
0 1 2 3 4 5 6 7 8 9 10 1112
2
10
4 keys per cache line
11
10
12
7
Previous slide
Next slide
Back to first slide
View graphic version