Skip to content

Commit 5f54b4f

Browse files
committed
update docstring
1 parent 778c346 commit 5f54b4f

2 files changed

Lines changed: 14 additions & 2 deletions

File tree

‎README.md‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# weighted_trie
22

3-
🦀 Rust crate that allows to create weighted prefix trees that can be used in autocomplete
3+
🦀 Rust crate that allows creating weighted prefix trees that can be used in autocomplete
44

55
### Quickstart
66
To use weigthed-trie, add the following to your Cargo.toml file:
@@ -43,6 +43,12 @@ fn main() {
4343
Do not manually update `README.md` instead edit `src/lib.rs`
4444
and then run `cargo readme > README.md`.
4545

46+
### TODO:
47+
1. Measure memory footprint
48+
2. Benrchmark lookup speed
49+
3. Try low hanging fruit optimizations like usage of `hashbrown` instead of standart HashMap
50+
51+
4652
### License
4753

4854
License: Apache-2.0

‎src/lib.rs‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//! 🦀 Rust crate that allows to create weighted prefix trees that can be used in autocomplete
1+
//! 🦀 Rust crate that allows creating weighted prefix trees that can be used in autocomplete
22
//!
33
//! ## Quickstart
44
//! To use weigthed-trie, add the following to your Cargo.toml file:
@@ -41,6 +41,12 @@
4141
//! Do not manually update `README.md` instead edit `src/lib.rs`
4242
//! and then run `cargo readme > README.md`.
4343
//!
44+
//! ## TODO:
45+
//! 1. Measure memory footprint
46+
//! 2. Benrchmark lookup speed
47+
//! 3. Try low hanging fruit optimizations like usage of `hashbrown` instead of standart HashMap
48+
//!
49+
//!
4450
//! ## License
4551
pub use trie::WeightedTrie;
4652
pub mod trie;

0 commit comments

Comments
 (0)