candronikos / rust_sequence_trie

Ergonomic trie data structure

Home Page:https://docs.rs/sequence_trie/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Ergonomic trie data structure

https://docs.rs/sequence_trie/

License:Other


Languages

Language:Rust 100.0%