| Crates.io | mytrie |
| lib.rs | mytrie |
| version | 0.2.2 |
| created_at | 2022-04-06 15:14:20.482532+00 |
| updated_at | 2023-01-30 22:05:31.664882+00 |
| description | Trie implmentation |
| homepage | https://github.com/UgnilJoZ/mytrie |
| repository | |
| max_upload_size | |
| id | 563185 |
| size | 17,247 |
This is an unoptimized not-production-ready trie implementation without path compression. Just a fun project.
use mytrie::Trie;
let trie = Trie::from(["Hallo", "Hallöchen", "Tschüs"]);
let mut content: Vec<String> = trie.iter_content("Hall").collect();
content.sort();
assert_eq!(content, ["Hallo", "Hallöchen"]);