veb 0.1.0

Implementation of a van Emde Boas tree
Documentation
  • Coverage
  • 0%
    0 out of 6 items documented0 out of 5 items with examples
  • Size
  • Source code size: 5.45 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.22 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • Stranger6667/veb
    1 0 1
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • Stranger6667

vEB

A WIP Rust implementation of a van Emde Boas tree.

fn main() {
    let mut tree = veb::VebTree::new(1024);
    tree.insert(50);
    assert!(tree.contains(50));
    assert!(!tree.contains(49));
}

NOTE: This is an alpha version and is not ready for production use.

TODO:

  • Insert
  • Contains
  • Delete one
  • Delete all
  • Find next
  • Find prev
  • Size
  • Iteration + exact size iteration + fused, double ended iterator
  • Extend from iterator
  • Drain / drain filter / retain / take
  • Default / Debug
  • First / last (with pop)
  • Append
  • Fuzzing
  • Generic over T
  • Clone
  • Eq
  • Some From impls (e.g. &[usize])
  • O(n) space
  • More tests
  • Detailed comments & docs
  • Arena-based allocation