8 stable releases
new 1.1.0 | Nov 17, 2024 |
---|---|
1.0.6 | Oct 21, 2024 |
1.0.4 | Aug 15, 2024 |
1.0.2 | Jul 22, 2024 |
1.0.1 | Jul 21, 2024 |
#1373 in Data structures
338 downloads per month
26KB
586 lines
Plain Trie
- Plain trie is classic retrieval tree implementation with fixed size alphabet per node.
- Support for English alphabet only.
- Capital letters are lowercased.
- All methods with classic trie ACC (asymptotic computational complexity).
let key = Key::new("touchstone").unwrap();
let mut trie = Trie::new();
trie.insert(3usize, &key);
assert!(trie.member(&key).is_some());
lib.rs
:
Classic retrieval tree implementation with fixed size alphabet per node.