diff options
| author | The8472 <git@infinite-source.de> | 2021-11-14 23:49:57 +0100 |
|---|---|---|
| committer | The8472 <git@infinite-source.de> | 2021-11-14 23:49:57 +0100 |
| commit | 78b5f2d2faf490ab8799188a8e8bf9ead4906490 (patch) | |
| tree | 732db4adbf457f3a63ef198242d951de7efa3119 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | ad442399756573dccacb314b6bf8079964bcc72a (diff) | |
| download | rust-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
