Archive for July 21, 2012
-
Rambling Trie 0.4.1 is out!
July 21, 2012
This post was originally published in the Rambling Labs Blog on July 21, 2012.
Version 0.4.1 of the Rambling Trie is here. It has some minor performance improvements over previous versions, changes in file/directoy structure, as well as a new API entry point, other API methods and more documentation.
You can now instance a new trie like this:
trie = Rambling::Trie.create
DEPRECATION WARNING
The old API entry point
Rambling::Trie.new
is now marked as deprecated and will be removed soon. Use the newRambling::Trie.create
method.
Also, you can add words to the trie using
<<
:trie << 'word'
And check if a word is contained in the trie with
include?
:trie.include? 'word'
You can see more documentation available on the project’s repository…