Skip to content
/ forest Public

Persistent on-disk functional datastructures for clojure.

Notifications You must be signed in to change notification settings

krl/forest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Forest

On-disk persistent functional datastructures for Clojure.

Uses a key-value store as backend, storing sorted sequences as red-black trees. Any previous state of the datastructures can be looked up in Olog(n) time, every association or dissociation returns a new top-level map, the old version can still be freely referenced. Basically just like the standard Clojure datastructures.

Check out the tests for examples on how it works.

Uses 2-3 Trees for sorted sequences, and Hash array mapped tries for sets and maps

Branching factor of 16 for now, but twiddlable.

About

Persistent on-disk functional datastructures for clojure.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published