Skip to content

Commit df8b083

Browse files
Try 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.
1 parent 3b1717c commit df8b083

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Cargo.lock

+1-2
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

+2
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)