mytrie 0.2.2

Trie implmentation
Documentation
  • Coverage
  • 50%
    1 out of 2 items documented1 out of 1 items with examples
  • Size
  • Source code size: 17.24 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 340.13 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 8s Average build duration of successful builds.
  • all releases: 8s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • UgnilJoZ

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"]);