Skip to content

philcrissman/ruby-trie

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ruby-trie

Just a couple trie implementations in Ruby

The first uses nested hashes. At first I thought it was too slow, but then I wrote and benchmarked the version that uses Node and Nodeset objects.

Look up is pretty quick in both, but slightly quicker in the version that uses Hashes to store the data. Both are faster than regex matching, so, hooray for data structure!

About

Just a couple trie implementations in Ruby

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages