Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
scaredginger
· 1y ago · 0 comments
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.
Comments
[–]
noamteyssier
1y ago
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