about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorThe8472 <git@infinite-source.de>2021-11-14 23:49:57 +0100
committerThe8472 <git@infinite-source.de>2021-11-14 23:49:57 +0100
commit78b5f2d2faf490ab8799188a8e8bf9ead4906490 (patch)
tree732db4adbf457f3a63ef198242d951de7efa3119 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parentad442399756573dccacb314b6bf8079964bcc72a (diff)
downloadrust-78b5f2d2faf490ab8799188a8e8bf9ead4906490.tar.gz
rust-78b5f2d2faf490ab8799188a8e8bf9ead4906490.zip
Simplify ObligationCauseData hash to skip ObligationCauseCode
selection deduplicates obligations through a hashset at some point, computing the hashes for ObligationCauseCode
appears to dominate the hashing cost. bodyid + span + discriminant hash hopefully will sufficiently unique
unique enough.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions