You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some data types in Rattler, like rattler_conda_types::RepoData, use FxHashMap instead of HashMap for better performance. This implementation utilizes fxhash, which employs a simpler hash function compared to the default one from std. fxhash was originally extracted from rustc, and since then, rustc-hash has been created and is maintained by rust-lang.
fxhash has not seen a release in seven years, and the last commit was five years ago. In contrast, rustc-hash is under active maintenance.
The author himself recommends using rustc-hash instead, as stated in cbreeden/fxhash#10. As downstream users of this library have to interact with FxHashMaps, I think it would make sense to switch over to rustc-hash to avoid forcing people to depend on outdated crates and use the more popular crate instead.
The text was updated successfully, but these errors were encountered:
Some data types in Rattler, like
rattler_conda_types::RepoData
, useFxHashMap
instead ofHashMap
for better performance. This implementation utilizesfxhash
, which employs a simpler hash function compared to the default one fromstd
.fxhash
was originally extracted fromrustc
, and since then,rustc-hash
has been created and is maintained byrust-lang
.fxhash
has not seen a release in seven years, and the last commit was five years ago. In contrast,rustc-hash
is under active maintenance.The author himself recommends using
rustc-hash
instead, as stated in cbreeden/fxhash#10. As downstream users of this library have to interact withFxHashMap
s, I think it would make sense to switch over torustc-hash
to avoid forcing people to depend on outdated crates and use the more popular crate instead.The text was updated successfully, but these errors were encountered: