Hacker News new | ask | show | jobs
by RiverBucketShoe 1426 days ago
Splay trees: https://en.wikipedia.org/wiki/Splay_tree recently searched items are always near the top.
1 comments

Nuts! I was going to say splay trees. Completely silly these days, like most trees, given caching hierarchies and bursty memory accesses, but a really neat data structure all the same.