Why it matters

Splay trees adapt to access patterns. Great for locality workloads.

Advertisement

The architecture

Splay on access.

Amortized O(log n).

Zig-zag rotations.

Splay tree operationsAccessany nodeSplayto rootAmortizedO(log n)Sleator-Tarjan 1985; adapts to access patterns; used in some kernels
Splay tree operations.
Advertisement

How it works end to end

Sleator-Tarjan 1985.

Splay + rotations.

Amortized bound.