Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
RiverBucketShoe
· 4y ago · 0 comments
Splay trees:
https://en.wikipedia.org/wiki/Splay_tree
recently searched items are always near the top.
Comments
[–]
jonstewart
4y ago
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.