Using marisa.cr for Efficient String Storage in Crystal
Using marisa.cr for Efficient String Storage in Crystal
I created a marisa.cr library and wanted to share it around.
usage: ``require "marisa"
trie = Marisa::Trie.new trie.add("snow") trie.add("snow cone") trie << "ice cream" # same as add ``
More info in the link
Comments