about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/builder.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-12-14 01:39:01 +0000
committerbors <bors@rust-lang.org>2021-12-14 01:39:01 +0000
commita2d25b4ff71b3d8ec49dc6a384e65e6a3ea33116 (patch)
tree2d93915394b520587c2aab8bdf60130ba5383612 /compiler/rustc_codegen_llvm/src/builder.rs
parent8f117a77d0880ed59afcc1a19c72ec5c1e44b97c (diff)
parent635533bebb353bf6004cd9513f620980dde2d625 (diff)
downloadrust-a2d25b4ff71b3d8ec49dc6a384e65e6a3ea33116.tar.gz
rust-a2d25b4ff71b3d8ec49dc6a384e65e6a3ea33116.zip
Auto merge of #91660 - llogiq:make-a-hash-of-def-ids, r=nnethercote
manually implement `Hash` for `DefId`

This might speed up hashing for hashers that can work on individual u64s. Just as an experiment, suggested in a reddit thread on `FxHasher`. cc `@nnethercote`

Note that this should not be merged as is without cfg-ing the code path for 64 bits.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/builder.rs')
0 files changed, 0 insertions, 0 deletions