lr_trie

Crates.iolr_trie
lib.rslr_trie
version1.4.3
sourcesrc
created_at2024-07-21 21:49:37.211681
updated_at2024-10-21 19:49:21.630436
descriptionLeft-Right trie is trie capable of mapping any string to any string.
homepagehttps://github.com/bravequickcleverfibreyarn/tries/tree/main/lr_trie
repositoryhttps://github.com/bravequickcleverfibreyarn/tries/tree/main/lr_trie
max_upload_size
id1310602
size39,270
boldswiftsmartfiberhank (bravequickcleverfibreyarn)

documentation

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

README

Left-Right Trie

Left-Right trie is trie that allows mapping of any string to any string with complexity based on alphabet used size.

let mut trie = LrTrie::new();
let one = KeyEntry::new("emociĆ³n").unwrap();
let another = KeyEntry::new("emotion").unwrap();

trie.insert(&one, &another);
assert!(trie.member(&one, LeftRight::Left).is_some());
assert!(trie.member(&another, LeftRight::Left).is_none());
Commit count: 0

cargo fmt