Uh oh!
There was an error while loading. Please reload this page.
Generalize and inline slice::fill specializations - #83245
Conversation
rust-highfive
commented
Mar 17, 2021
(rust-highfive has picked a reviewer for you, use r? to override) |
This comment has been minimized.
This comment has been minimized.
the8472
commented
Mar 17, 2021
Odd, this didn't show up when running tidy locally. |
This should also improve cross-crate inlining since the method is generic
9a25668 to
d7fdd90CompareXanewok
commented
Mar 18, 2021
@bors try @rust-timer queue |
rust-timer
commented
Mar 18, 2021
Awaiting bors try build completion. @rustbot label: +S-waiting-on-perf |
bors
commented
Mar 18, 2021
⌛ Trying commit d7fdd90 with merge ce671292e8a00a0c94483a1fe89485bb08d4762b... |
bors
commented
Mar 18, 2021
☀️ Try build successful - checks-actions |
rust-timer
commented
Mar 18, 2021
Queued ce671292e8a00a0c94483a1fe89485bb08d4762b with parent 36f1f04, future comparison URL. |
rust-timer
commented
Mar 18, 2021
Finished benchmarking try commit (ce671292e8a00a0c94483a1fe89485bb08d4762b): comparison url. Benchmarking this pull request likely means that it is perf-sensitive, so we're automatically marking it as not fit for rolling up. Please note that if the perf results are neutral, you should likely undo the rollup=never given below by specifying Importantly, though, if the results of this run are non-neutral do not roll this PR up -- it will mask other regressions or improvements in the roll up. @bors rollup=never |
the8472
commented
Mar 22, 2021
@rustbot label T-libs-impl |
m-ou-se
commented
Mar 27, 2021
Thanks! @bors r+ |
bors
commented
Mar 27, 2021
📌 Commit d7fdd90 has been approved by |
bors
commented
Mar 27, 2021
bors
commented
Mar 27, 2021
☀️ Test successful - checks-actions |
…Jung,joboet specialize slice::fill to use memset when possible It helps const eval performance rust-lang/miri#4616, debug builds and the gcc backend. Previously attempted in rust-lang#83245 but reverted due to unsoundness rust-lang#87891 around potentially-uninitialized types. This PR only handles primitives where the problem does not arise. split off from rust-lang#147294
…Jung,joboet specialize slice::fill to use memset when possible It helps const eval performance rust-lang/miri#4616, debug builds and the gcc backend. Previously attempted in rust-lang#83245 but reverted due to unsoundness rust-lang#87891 around potentially-uninitialized types. This PR only handles primitives where the problem does not arise. split off from rust-lang#147294
Rollup merge of #147457 - the8472:slice_fill_memset2, r=RalfJung,joboet specialize slice::fill to use memset when possible It helps const eval performance rust-lang/miri#4616, debug builds and the gcc backend. Previously attempted in #83245 but reverted due to unsoundness #87891 around potentially-uninitialized types. This PR only handles primitives where the problem does not arise. split off from #147294
…Jung,joboet specialize slice::fill to use memset when possible It helps const eval performance rust-lang/miri#4616, debug builds and the gcc backend. Previously attempted in rust-lang#83245 but reverted due to unsoundness rust-lang#87891 around potentially-uninitialized types. This PR only handles primitives where the problem does not arise. split off from rust-lang#147294
specialize slice::fill to use memset when possible It helps const eval performance rust-lang#4616, debug builds and the gcc backend. Previously attempted in rust-lang/rust#83245 but reverted due to unsoundness rust-lang/rust#87891 around potentially-uninitialized types. This PR only handles primitives where the problem does not arise. split off from rust-lang/rust#147294
This makes the memset specialization applicable to more types. And since the code now lives in a generic method it is also eligible for cross-crate inlining which should fix#83235