perf(data_structures): reduce IterMut::advance_unchecked to 1 instruction#13438
Conversation
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
CodSpeed Instrumentation Performance ReportMerging #13438 will not alter performanceComparing Summary
Footnotes
|
6347cd3 to
8c391ee
Compare
361cd34 to
b7c88ce
Compare
Merge activity
|
8c391ee to
02e8ba3
Compare
b7c88ce to
e2940ef
Compare
02e8ba3 to
6e4eb47
Compare
e2940ef to
5661ccd
Compare
5661ccd to
475205f
Compare
6e4eb47 to
d0479e9
Compare

Use
as_mut_slicemethod (introduced in #13437) to optimizeadvance_uncheckedmethod onslice::IterMut. Previously it had a branch, now it's only 1 instruction.