Skip to content

Commit

Permalink
Try rustc-hash with ones-idiom init
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
workingjubilee committed Mar 10, 2024
1 parent 3b1717c commit df8b083
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 1 addition & 2 deletions Cargo.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3341,8 +3341,7 @@ dependencies = [
[[package]]
name = "rustc-hash"
version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2"
source = "git+https://github.com/workingjubilee/rustc-hash?branch=stay-positive#e8dab147f2fed7405a348b510fec7fe350094f74"

[[package]]
name = "rustc-main"
Expand Down
2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -120,5 +120,7 @@ rustc-std-workspace-core = { path = 'library/rustc-std-workspace-core' }
rustc-std-workspace-alloc = { path = 'library/rustc-std-workspace-alloc' }
rustc-std-workspace-std = { path = 'library/rustc-std-workspace-std' }

rustc-hash = { git = "https://github.com/workingjubilee/rustc-hash", branch = "stay-positive" }

[patch."https://github.com/rust-lang/rust-clippy"]
clippy_lints = { path = "src/tools/clippy/clippy_lints" }

0 comments on commit df8b083

Please sign in to comment.