bitmaptrie 2.0.0

Bitmapped vector trie (mutable, not persistent). Word-size path-cached indexing into essentially a sparse vector. Requires rust-nightly.
1
2
3
4
5
6
7
8
9
10
11

use std::mem::size_of;

extern crate bitmaptrie;
use bitmaptrie::TrieNode;


fn main() {
    println!("The size of TrieNode<_> is {}", size_of::<TrieNode<String>>());
    println!("It would be nice if it could be {}", size_of::<usize>());
}