diff options
| author | bors <bors@rust-lang.org> | 2021-11-14 15:18:26 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-11-14 15:18:26 +0000 |
| commit | c8e94975a6541e947a1bd4971e084c8ba637f2b6 (patch) | |
| tree | 66f5ba4c28a327483a36b5bfc1e775bb07fb72c7 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | 3b2c45441d7eefed63f6658ff8becd5a51eaeae1 (diff) | |
| parent | c1ea7bdc87a07c733769fd6adaa16818d692df24 (diff) | |
| download | rust-c8e94975a6541e947a1bd4971e084c8ba637f2b6.tar.gz rust-c8e94975a6541e947a1bd4971e084c8ba637f2b6.zip | |
Auto merge of #90596 - the8472:path-hash-opt, r=Mark-Simulacrum
Optimize Eq and Hash for Path/PathBuf ``` # new test path::tests::bench_hash_path_long ... bench: 86 ns/iter (+/- 1) test path::tests::bench_hash_path_short ... bench: 13 ns/iter (+/- 1) test path::tests::bench_path_hashset ... bench: 197 ns/iter (+/- 6) test path::tests::bench_path_hashset_miss ... bench: 94 ns/iter (+/- 4) # old test path::tests::bench_hash_path_long ... bench: 192 ns/iter (+/- 2) test path::tests::bench_hash_path_short ... bench: 33 ns/iter (+/- 1) test path::tests::bench_path_hashset ... bench: 1,121 ns/iter (+/- 24) test path::tests::bench_path_hashset_miss ... bench: 273 ns/iter (+/- 6) ```
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
