The default hash table has better security against malicious input by using a slower hashing algorithm. Its the right default, but if you really want performance and to compete with C/C++, you have to use an algorithm that makes different tradeoffs, or you would be comparing apples to oranges.
> The default hash table has better security against malicious input by using a slower hashing algorithm.
I think an adaptive hash that switches from fast to secure when collisions are detected would make a better default choice (at the cost of some implementation complexity).
Or possibly even an implementation with log(n) worst case complexity.
It's in native Rust though. Which is all that matters. And it's a publicly available crate, so anyone who wants to use it can... and easily with cargo/crates.io.