#trie #hash #tree-hash #collection #tree #node-key

sequence_trie

Trie-like data-structure for storing sequences of values

23 releases

Uses old Rust 2015

0.3.6 Oct 30, 2018
0.3.5 Sep 9, 2017
0.3.4 Jul 31, 2017
0.3.0 Feb 14, 2017
0.0.2 Nov 21, 2014

#1134 in Data structures

Download history 9332/week @ 2024-06-19 7246/week @ 2024-06-26 7323/week @ 2024-07-03 8962/week @ 2024-07-10 9977/week @ 2024-07-17 10592/week @ 2024-07-24 10021/week @ 2024-07-31 8293/week @ 2024-08-07 8409/week @ 2024-08-14 8150/week @ 2024-08-21 7678/week @ 2024-08-28 7756/week @ 2024-09-04 10686/week @ 2024-09-11 8459/week @ 2024-09-18 11108/week @ 2024-09-25 8806/week @ 2024-10-02

40,200 downloads per month
Used in 48 crates (9 directly)

MIT/Apache

33KB
677 lines

Sequence Trie

Build Status

This is a generic Trie implementation that uses a hash map to store child nodes. The Trie is keyed by lists of type K, which can be anything implementing PartialEq, Eq, Hash and Clone. If your keys are explicit lists and you want to be able to store a different value for each element of a key, this might be the data structure for you!

For more information, see the API documentation.

Usage

Add sequence_trie to your Cargo.toml.

[dependencies]
sequence_trie = "*"

See Also

  • Radix Trie – a trie operating on byte-strings, with better performance and a less ergonomic API.

License

Licensed under either of:

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~165KB