RetroFed Forum
Your home away from modern life.
Using marisa.cr for Efficient String Storage in Crystal
Post Reply
AuthorMessage
lautan lemmy.ca lautan@lemmy.ca
Joined: 2023-06-04
Quote

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

1   Original
Post Reply
Back to top