Hacker News new | past | comments | ask | show | jobs | submit login

Splay trees: https://en.wikipedia.org/wiki/Splay_tree recently searched items are always near the top.



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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: