hamt

Crates.iohamt
lib.rshamt
version0.2.0
sourcesrc
created_at2015-10-10 00:35:28.790136
updated_at2016-02-18 04:02:12.284393
descriptionPurely functional hash array mapped tries.
homepagehttps://github.com/rainbowbismuth/hamt-rs
repositoryhttps://github.com/rainbowbismuth/hamt-rs
max_upload_size
id3188
size46,300
Emily A. Bellows (rainbowbismuth)

documentation

http://rainbowbismuth.github.io/rustdoc/hamt/

README

hamt

:construction: This library is under construction! :construction:

Build Status

Documentation

An implementation of a persistent hash array mapped trie in Rust, based on those found in the unordered-containers Haskell library.

There are four versions of the data structure, HamtRc which is limited to a single thread, and HamtArc which can be freely shared. As well as set versions, HamtSetRc and HamtSetArc.

Examples

extern crate hamt;
use hamt::HamtRc;

let hamt = HamtRc::<isize,isize>::new().insert(&0, &1).insert(&1, &10).insert(&2, &100);
assert!(hamt.get(&1) == Option::Some(&10));

Performance

Unknown :space_invader:.

Planned features

  • Useful functions like union, difference, intersection.
Commit count: 62

cargo fmt