michaelsproul / rust_radix_trie

Fast generic radix trie implemented in Rust
https://docs.rs/radix_trie/
MIT License
184 stars 32 forks source link

TrieKey support for Vec<T> of integer types #63

Closed jakobdalsgaard closed 3 years ago

jakobdalsgaard commented 3 years ago

I wanted to use your implementation with TrieKeys of u32 and due to Rust orphan rules could not implement this in my own crate; there is an open issue on creating support for TrieKey of Vec for T being arbitrary types -- which off course would be nice -- in the meantime, would this solution be worth adding?

michaelsproul commented 3 years ago

Yeah that's great! Thank you! I'll publish a new release now

michaelsproul commented 3 years ago

Done, v0.2.1 contains this commit :tada: https://crates.io/crates/radix_trie/0.2.1

jakobdalsgaard commented 3 years ago

Nice!

My first rust open source contribution; thanks for the swift response.

michaelsproul commented 3 years ago

No worries, you did well!