4 ms·
What did I miss? He adds fields onto each node to help with traversal.
by cheez 10y ago
What did I miss? He adds fields onto each node to help with traversal.
- jjnoakes 10y agoYou missed the last paragraph, I think: > For a production implementation it may be worth packing i into the flags field since it only needs a few bits, even with larger alphabets. Also, I bet, as in Deutsch-Schorr-Waite, the p field could be eliminated and instead one of the child pointers is temporarily reversed. With these changes, this technique would fit into the original struct trie without changes, eliminating the extra memory usage.
- cheez 10y agoThanks buddy! I did miss that.