diff options
| author | Nicholas Nethercote <nnethercote@mozilla.com> | 2019-11-01 08:52:14 +1100 |
|---|---|---|
| committer | Nicholas Nethercote <nnethercote@mozilla.com> | 2019-11-04 10:15:55 +1100 |
| commit | 1aceaaa969d85195966e453590cbfc68771bf904 (patch) | |
| tree | 532279a17abc0c00c22481366e65954081e7e47f /src/test/debuginfo/enum-thinlto.rs | |
| parent | b497e18995d6b6992f97512c6b86b5cb3f2f34f5 (diff) | |
| download | rust-1aceaaa969d85195966e453590cbfc68771bf904.tar.gz rust-1aceaaa969d85195966e453590cbfc68771bf904.zip | |
Avoid hashing the key twice in `get_query()`.
For a single-threaded parallel compiler, this reduces instruction counts across several benchmarks, by up to 2.8%. The commit also adds documentation about `Sharded`'s use of `FxHasher`.
Diffstat (limited to 'src/test/debuginfo/enum-thinlto.rs')
0 files changed, 0 insertions, 0 deletions
