trie
trie copied to clipboard
Serialize via Marshal
It would be handy if the Trie class supported serializing with Ruby's Marshal class. Trie objects could then be saved to file or to Memcache or any other object store.
http://www.ruby-doc.org/core-1.9.3/Marshal.html
Trie can already save to files, so this might only be rewiring.
http://rubydoc.info/gems/fast_trie/0.5.0/Trie:save