weighted_trie
🦀 Rust crate that allows creating weighted prefix trees that can be used in autocomplete
Quickstart
To use weigthed-trie, add the following to your Cargo.toml file:
[]
= "0.1.0" # NOTE: Replace to latest minor version.
Usage overview
use WeightedTrie;
Guidelines
README.md
is generated from cargo readme
command.
Do not manually update README.md
instead edit src/lib.rs
and then run cargo readme > README.md
.
TODO:
- Add tests
- Measure memory footprint
- Benrchmark lookup speed
- Benchmark insert speed
- Try low hanging fruit optimizations like usage of
hashbrown
instead of standart HashMap
License
License: Apache-2.0