Delay an is_local_ever_initialized call.#66537
Conversation
This commit moves the call after a `return` that almost always runs. It speeds up the `unicode_normalization` benchmark by about 2%.
|
@bors try @rust-timer queue |
|
Awaiting bors try build completion |
|
⌛ Trying commit 9651617 with merge b0ffe539b10a02cdb3ff9a220ea27b0b27154e2d... |
|
☀️ Try build successful - checks-azure |
|
Queued b0ffe539b10a02cdb3ff9a220ea27b0b27154e2d with parent 0ccee30, future comparison URL. |
|
Finished benchmarking try commit b0ffe539b10a02cdb3ff9a220ea27b0b27154e2d, comparison URL. |
|
r? @pnkfelix |
|
The CI perf results match the local ones: |
|
📌 Commit 9651617 has been approved by |
|
@bors rollup |
|
💡 This pull request was already approved, no need to approve it again.
|
|
📌 Commit 9651617 has been approved by |
|
@bors rollup=never This is a performance improvement that may mask perf regressions if rolled up. |
…=spastorino Delay an `is_local_ever_initialized` call. This commit moves the call after a `return` that almost always runs. It speeds up the `unicode_normalization` benchmark by about 2%. r? @spastorino
|
☀️ Test successful - checks-azure |
This commit moves the call after a
returnthat almost always runs. Itspeeds up the
unicode_normalizationbenchmark by about 2%.r? @spastorino