Uh oh!
There was an error while loading. Please reload this page.
Use rvalue promotion to 'static instead of static items. - #44312
Conversation
alexcrichton
commented
Sep 5, 2017
Just to confirm: you've verified that the codegen before and after for these callsites is the same? (these were carefully constructed to reduce code bloat) |
eddyb
commented
Sep 5, 2017
@alexcrichton The static data in |
alexcrichton
commented
Sep 5, 2017
Excellent! @bors: r+ |
bors
commented
Sep 5, 2017
📌 Commit 7e0b79d has been approved by |
alexcrichton
commented
Sep 7, 2017
@bors: rollup |
…lexcrichton Use rvalue promotion to 'static instead of static items. Fixesrust-lang#44240. Among other things, in crates that do a lot of formatting, this could reduce the number of items, although I haven't measured the performance benefits. If there's a codegen slowdown, that should IMO be solved by caching the output of miri, *not* by using `static`. r? @alexcrichton
…lexcrichton Use rvalue promotion to 'static instead of static items. Fixesrust-lang#44240. Among other things, in crates that do a lot of formatting, this could reduce the number of items, although I haven't measured the performance benefits. If there's a codegen slowdown, that should IMO be solved by caching the output of miri, *not* by using `static`. r? @alexcrichton
…lexcrichton Use rvalue promotion to 'static instead of static items. Fixesrust-lang#44240. Among other things, in crates that do a lot of formatting, this could reduce the number of items, although I haven't measured the performance benefits. If there's a codegen slowdown, that should IMO be solved by caching the output of miri, *not* by using `static`. r? @alexcrichton
aidanhs
commented
Sep 10, 2017
@bors r- rollup- Suspect this caused failure in https://travis-ci.org/rust-lang/rust/jobs/273704890, rollup #44460: vs |
eddyb
commented
Sep 10, 2017
Wait, what, the PR builds don't check pretty tests? Ugh... |
eddyb
commented
Sep 10, 2017
Wow, I just ran |
7e0b79d to
10f66bdCompare@bors r=alexcrichton p=1 (let's not put it in a rollup, so we can get perf deltas) |
bors
commented
Sep 10, 2017
📌 Commit 10f66bd has been approved by |
bors
commented
Sep 10, 2017
Use rvalue promotion to 'static instead of static items. Fixes#44240. Among other things, in crates that do a lot of formatting, this could reduce the number of items, although I haven't measured the performance benefits. If there's a codegen slowdown, that should IMO be solved by caching the output of miri, *not* by using `static`. r? @alexcrichton
bors
commented
Sep 10, 2017
☀️ Test successful - status-appveyor, status-travis |
Fixes#44240. Among other things, in crates that do a lot of formatting, this could reduce the number of items, although I haven't measured the performance benefits. If there's a codegen slowdown, that should IMO be solved by caching the output of miri, not by using
static.r? @alexcrichton