Skip to content

Commit 5a5b692

Browse files
committed
Auto merge of #122316 - workingjubilee:try-fxhasher-with-usize-max, r=<try>
[WIP] Perf experiment for rustc-hash with ones-idiom init CPUs for a while now know (at least) PCMPEQ as a dependency-breaking "ones idiom", and it's not a huge encoding next to constant loads. Let's try it out and see how the hashing goes. Spurred by rust-lang/rustc-hash#17
2 parents 3b1717c + df8b083 commit 5a5b692

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Cargo.lock

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3341,8 +3341,7 @@ dependencies = [
33413341
[[package]]
33423342
name = "rustc-hash"
33433343
version = "1.1.0"
3344-
source = "registry+https://github.com/rust-lang/crates.io-index"
3345-
checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2"
3344+
source = "git+https://github.com/workingjubilee/rustc-hash?branch=stay-positive#e8dab147f2fed7405a348b510fec7fe350094f74"
33463345

33473346
[[package]]
33483347
name = "rustc-main"

Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,5 +120,7 @@ rustc-std-workspace-core = { path = 'library/rustc-std-workspace-core' }
120120
rustc-std-workspace-alloc = { path = 'library/rustc-std-workspace-alloc' }
121121
rustc-std-workspace-std = { path = 'library/rustc-std-workspace-std' }
122122

123+
rustc-hash = { git = "https://github.com/workingjubilee/rustc-hash", branch = "stay-positive" }
124+
123125
[patch."https://github.com/rust-lang/rust-clippy"]
124126
clippy_lints = { path = "src/tools/clippy/clippy_lints" }

0 commit comments

Comments
 (0)