Hacker News new | ask | show | jobs
by fogleman 4656 days ago
Should mention that tries can be heavily compressed into DAWGs (Directed Acyclic Word Graphs) by eliminating common subtrees. I've used this in word games on iOS where I want a small memory footprint.

P.S. I love tries!

1 comments

"How to Squeeze a Lexicon" by Ciura and Deorowicz [1] is a good and practical introduction to DAWGs.

[1]: http://sun.aei.polsl.pl/~mciura/publikacje/lexicon.pdf