News for hackers. Stuff that matters.
Re:Ask HN: What are some cool but obscure data structures yo... by RiverBucketShoe on Thursday July 21, 2022 @08:35PM (#32187063)
Splay trees: https://en.wikipedia.org/wiki/Splay_tree recently searched items are always near the top.
Re:Ask HN: What are some cool but obscure data structures yo... by jonstewart on Thursday July 21, 2022 @09:12PM (#32187302)
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.