sdleffler / qp-trie-rs

An idiomatic and fast QP-trie implementation in pure Rust.
Mozilla Public License 2.0
95 stars 24 forks source link

Consider adding TrieSet #33

Open nwalfield opened 1 year ago

nwalfield commented 1 year ago

Thanks for this nice crate.

BTreeMap has a corresponding BTreeSet. HashMap has a corresponding HashSet. It would be nice if Trie had a corresponding TrieSet. It is easy to workaround in practice (let foo: Trie<Key, ()> = Default::default()), but having a drop-in replacement for BTreeSet and HashSet would be nice.