about summary refs log tree commit diff
path: root/src/test/debuginfo/enum-thinlto.rs
diff options
context:
space:
mode:
authorNicholas Nethercote <nnethercote@mozilla.com>2019-11-01 08:52:14 +1100
committerNicholas Nethercote <nnethercote@mozilla.com>2019-11-04 10:15:55 +1100
commit1aceaaa969d85195966e453590cbfc68771bf904 (patch)
tree532279a17abc0c00c22481366e65954081e7e47f /src/test/debuginfo/enum-thinlto.rs
parentb497e18995d6b6992f97512c6b86b5cb3f2f34f5 (diff)
downloadrust-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