Skip to content

jfager/functional-critbit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 

Repository files navigation

An OO/Functional Crit-bit tree in Java, inspired by djb, Adam Langley, and Okasaki.

A primary goal for the project is space-efficiency. It accomplishes this by defining the five different kinds of nodes in a critbit tree - no nodes have unused or unnecessary references, and leaf nodes are collapsed into their parents when possible.

An immutable/functional implementation is provided for use where such traits are desirable. A mutable implementation with much higher insertion throughput and lower garbage collection tolls is also available.

Special thanks to rkapsi's patricia-trie project for a nice set of key analyzers and tests. If you're more concerned with Java Map interface compatibility and/or performance, you should probably use that project instead.

About

An OO/Functional Crit-bit tree in Java.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages