diff options
| author | bors <bors@rust-lang.org> | 2021-06-17 20:47:32 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-06-17 20:47:32 +0000 |
| commit | 149f4836dd6d9e789a26dca16dc034588866894e (patch) | |
| tree | adbc01ec2300e4861f3459a7795ff6c60a6cb760 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | e062e5d34ee80e0d5da403e8c5609f29e6a7dbcb (diff) | |
| parent | c0efd2a15bde43a96280d6e4480f33a5f80b7a53 (diff) | |
| download | rust-149f4836dd6d9e789a26dca16dc034588866894e.tar.gz rust-149f4836dd6d9e789a26dca16dc034588866894e.zip | |
Auto merge of #86392 - JohnTitor:use-partition-point, r=petrochenkov
Prefer `partition_point` to look up assoc items Since we now have `partition_point` (instead of `equal_range`), I think it's worth trying to use it instead of manually finding it. `partition_point` uses `binary_search_by` internally (#85406) and its performance has been improved (#74024), so I guess this will make a performance difference.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
