Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Crit-bit Trees: the best way to store sets.
https://github.com/rkapsi/patricia-trie https://github.com/jfager/functional-critbit
The latter is my own, with a focus on memory efficiency (by my benchmarks, it uses about 40% less space than patricia-trie for the same data set). Would love to get some extra eyes on it to figure out how to trim it further or speed it up.
There are no comments on this comment yet.
https://github.com/rkapsi/patricia-trie https://github.com/jfager/functional-critbit
The latter is my own, with a focus on memory efficiency (by my benchmarks, it uses about 40% less space than patricia-trie for the same data set). Would love to get some extra eyes on it to figure out how to trim it further or speed it up.