3 ms·
https://doc.rust-lang.org/std/?search=hashbrown https://doc.rust-lang.org/std/?search=hashbrown looks like there's no way to access it, outside of hashmap. Th
by LAC-Tech 1y ago
https://doc.rust-lang.org/std/?search=hashbrown https://doc.rust-lang.org/std/?search=hashbrown
looks like there's no way to access it, outside of hashmap.
Though maybe you just need the third party hasher and you can call with_hasher.
IDK man there's a lot going on with rust.
- nindalf 1y agoYes that’s exactly it. If speed is a priority and the input is trusted, change the hasher to something faster like ahash. The ahash crate makes this easy.