diff options
| author | Tyler Mandry <tmandry@gmail.com> | 2020-08-14 14:46:45 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-08-14 14:46:45 -0700 |
| commit | 83e75acdec5c3e7f90bb34d0827ed1656eec07d2 (patch) | |
| tree | 9d74cf535adbc513409209b4a2c30c3675248ba7 /src/rustllvm/CoverageMappingWrapper.cpp | |
| parent | 5b61230303824f34a25c388f6c6255d10c4366f8 (diff) | |
| parent | 3a02e06002e3c34cd63c1237d0998414c56f7efc (diff) | |
| download | rust-83e75acdec5c3e7f90bb34d0827ed1656eec07d2.tar.gz rust-83e75acdec5c3e7f90bb34d0827ed1656eec07d2.zip | |
Rollup merge of #75195 - ssomers:btree_split_up_into_kv_mut, r=Mark-Simulacrum
BTreeMap: purge innocent use of into_kv_mut Replace the use of `into_kv_mut` into more precise calls. This makes more sense if you know that the single remaining use of `into_kv_mut` is in fact evil and can be trialled in court (#75200) and sent to a correction facility (#73971). No real performance difference reported (but functions that might benefit a tiny constant bit like `BTreeMap::get_mut` aren't benchmarked): ``` benchcmp old new --threshold 5 name old ns/iter new ns/iter diff ns/iter diff % speedup btree::map::clone_fat_100 63,073 59,256 -3,817 -6.05% x 1.06 btree::map::iter_100 3,514 3,235 -279 -7.94% x 1.09 ```
Diffstat (limited to 'src/rustllvm/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
