]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #83293 - osa1:82436_perf, r=varkor
authorbors <bors@rust-lang.org>
Sat, 20 Mar 2021 03:49:10 +0000 (03:49 +0000)
committerbors <bors@rust-lang.org>
Sat, 20 Mar 2021 03:49:10 +0000 (03:49 +0000)
Revert performance-sensitive change in #82436

This change was done in #82436, as an "optimization". Unfortunately I
missed that this code is not always executed, because of the "continue"
in the conditional above it.

This commit should solve the perf regressions introduced by #82436 as I
think there isn't anything else that could affect runtime performance in
that PR. The `Pick` type grows only one word, which I doubt can cause up
to 8.8% increase in RSS in some of the benchmarks.

---

Could someone with the rights start a perf job please?


Trivial merge