Hacker News new | ask | show | jobs
by scaredginger 240 days ago
Looks like the impl uses a HashMap. I'd be curious about how a trie or some other specialized string data structure would compare here.
1 comments

I think this could potentially really reduce the amount of memory required - especially in cases where there is a lot of repetitive prefixes.

Would be interesting to try this out