Closed torkleyy closed 2 years ago
is there a reason why to remove hashbrown completly ?
is there a reason why to remove hashbrown completly ?
Yes, it is no longer necessary. In the Rust 1.36.0 release the std HashMap was replaced by hashbrown's implementation. Source: https://blog.rust-lang.org/2019/07/04/Rust-1.36.0.html#a-new-hashmapk-v-implementation
Hmm, I just saw they use different hashing algorithms by default. We should consider using a different algorithm than the default (we don't need HashDOS protection).
Hmm, I just saw they use different hashing algorithms by default. We should consider using a different algorithm than the default (we don't need HashDOS protection).
yeah, i had something similar in mind. that stds is crypto-secure by default and we basically dont need that and could go for an algorithm that is very good for hashing of usize (or whatever we need to hash mostly).
Additionally hashbrown has got newer releases since 2019, and i am not sure if we keep udpating std s ones or not
r? @xMAC94x
Thanks for the reviews @xMAC94x :)
API changes
shred
changedmopa::Any
trait implementationOther changes
hashbrown
dependencyFixes #746