dyn_trie

Crates.iodyn_trie
lib.rsdyn_trie
version1.0.4
sourcesrc
created_at2024-07-21 21:49:32.084524
updated_at2024-10-21 19:49:30.618779
descriptionDynamic trie is trie capable of mapping any T to any string.
homepagehttps://github.com/bravequickcleverfibreyarn/tries/tree/main/dyn_trie
repositoryhttps://github.com/bravequickcleverfibreyarn/tries/tree/main/dyn_trie
max_upload_size
id1310601
size18,306
boldswiftsmartfiberhank (bravequickcleverfibreyarn)

documentation

https://docs.rs/dyn_trie/latest/dyn_trie/index.html

README

Dynamic Trie

Dynamic trie is trie that allows mapping of any T to any string with complexity based on hash map complexity.

let mut trie = Trie::new();

let keyword = Key::new("Keyword").unwrap();
trie.insert(0usize, &keyword);

let key = Key::new("Key").unwrap();
trie.insert(0usize, &key);

assert!(trie.delete(&key).is_ok());
assert!(trie.member(&key).is_none());
Commit count: 0

cargo fmt