feat(users/edef/weave): use FxHashSet and dedupe early
Deduping early saves a fair bit of memory, but the extra hashing is costly. We switch to FxHash, since we don't need a DoS-proof hash, but we do need it to be *fast*. Change-Id: Ic6b7010874c417862baa9b882593208c8dd1d5e6 Reviewed-on: https://cl.tvl.fyi/c/depot/+/12648 Reviewed-by: flokli <flokli@flokli.de> Tested-by: BuildkiteCI
This commit is contained in:
parent
06d2536eec
commit
201d8f0cf2
4 changed files with 33 additions and 4 deletions
|
|
@ -5446,6 +5446,21 @@ rec {
|
|||
"rustc-dep-of-std" = [ "core" "compiler_builtins" ];
|
||||
};
|
||||
};
|
||||
"rustc-hash" = rec {
|
||||
crateName = "rustc-hash";
|
||||
version = "2.0.0";
|
||||
edition = "2021";
|
||||
sha256 = "0lni0lf846bzrf3jvci6jaf4142n1mdqxvcpczk5ch9pfgyk8c2q";
|
||||
libName = "rustc_hash";
|
||||
authors = [
|
||||
"The Rust Project Developers"
|
||||
];
|
||||
features = {
|
||||
"default" = [ "std" ];
|
||||
"rand" = [ "dep:rand" "std" ];
|
||||
};
|
||||
resolvedDefaultFeatures = [ "default" "std" ];
|
||||
};
|
||||
"rustc_version" = rec {
|
||||
crateName = "rustc_version";
|
||||
version = "0.4.1";
|
||||
|
|
@ -6766,6 +6781,10 @@ rec {
|
|||
name = "rayon";
|
||||
packageId = "rayon";
|
||||
}
|
||||
{
|
||||
name = "rustc-hash";
|
||||
packageId = "rustc-hash";
|
||||
}
|
||||
{
|
||||
name = "safer_owning_ref";
|
||||
packageId = "safer_owning_ref";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue