| ▲ | wood_spirit 3 hours ago | |
This was a fun read! Thanks for the great introduction to Finite State Transducers. I hadn't heard the formal term before, but your article gave me serious déjà vu. Years ago, I entered a Scrabble programming contest and needed to compress a GADDAG dictionary to fit into my 6MB L3 cache. Without knowing the official name for it, I ended up using the exact same suffix-compression mechanism by moving characters to the edges instead of the nodes to merge overlapping paths. Sharing my old write-up here in case you or other data-structure nerds find the overlap interesting! https://williame.github.io/post/87682811573.html | ||
| ▲ | rishkewl 3 hours ago | parent [-] | |
Nice reminder that a lot of these wins come from removing identity that the algorithm doesn’t actually need. | ||