mytrie

Crates.iomytrie
lib.rsmytrie
version0.2.2
sourcesrc
created_at2022-04-06 15:14:20.482532
updated_at2023-01-30 22:05:31.664882
descriptionTrie implmentation
homepagehttps://github.com/UgnilJoZ/mytrie
repository
max_upload_size
id563185
size17,247
Jan Ole Zabel (UgnilJoZ)

documentation

https://docs.rs/mytrie/latest/mytrie/struct.Trie.html

README

Simple trie implementation

This is an unoptimized not-production-ready trie implementation without path compression. Just a fun project.

Crates.io codecov Documentation Dependency status

Example

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"]);
Commit count: 0

cargo fmt