#trie #tree #hash #data-structure #collection

sequence_trie

Trie-like data-structure for storing sequences of values

23 releases

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

#30 in Data structures

Download history 1693/week @ 2019-04-26 2041/week @ 2019-05-03 2212/week @ 2019-05-10 2196/week @ 2019-05-17 1905/week @ 2019-05-24 1703/week @ 2019-05-31 1755/week @ 2019-06-07 1932/week @ 2019-06-14 2803/week @ 2019-06-21 2820/week @ 2019-06-28 2602/week @ 2019-07-05 2654/week @ 2019-07-12 3169/week @ 2019-07-19 2768/week @ 2019-07-26 2452/week @ 2019-08-02

7,466 downloads per month
Used in 44 crates (5 directly)

MIT/Apache

32KB
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