Uh oh!
There was an error while loading. Please reload this page.
Implement internal IsZero for Wrapping and Saturating for Vec optimizations - #93455
Conversation
rust-highfive
commented
Jan 29, 2022
r? @kennytm (rust-highfive has picked a reviewer for you, use r? to override) |
This comment has been minimized.
This comment has been minimized.
asquared31415
commented
Jan 30, 2022
I think this is a spurious CI failure |
1e7573d to
652c3fcCompareDylan-DPC
commented
Apr 11, 2022
r? @m-ou-se |
thomcc
commented
Aug 26, 2022
r? @thomcc |
thomcc
commented
Aug 26, 2022
This is fully internal and looks good to me. No rollup since this could help perf a fair bit in the off-chance we have uses of this inside rustc (this is pretty unlikely, though). @bors r+ rollup=never |
bors
commented
Aug 26, 2022
📌 Commit 652c3fc811d977f620323cb7d8e63136d6b0207a has been approved by It is now in the queue for this repository. |
bors
commented
Aug 26, 2022
⌛ Testing commit 652c3fc811d977f620323cb7d8e63136d6b0207a with merge efb31449a452d93ed96b2c293a895b52ee257bfe... |
bors
commented
Aug 26, 2022
💔 Test failed - checks-actions |
thomcc
commented
Aug 26, 2022
Oh, hm, this needs more specialization... |
thomcc
commented
Aug 26, 2022
I'd like to rereview after you make whatever changes are needed, so don't just carry the r+ forward if you don't mind. |
thomcc
commented
Aug 26, 2022
Ah, apparently I have to do this to remove it from the queue. @bors r- |
652c3fc to
71b721fCompare
This comment has been minimized.
This comment has been minimized.
71b721f to
9ba169aCompareasquared31415
commented
Sep 2, 2022
I did not mean to close this, whoops |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
25fe9ed to
80e035cCompareasquared31415
commented
Sep 3, 2022
@rustbot ready |
thomcc
commented
Sep 4, 2022
LGTM (and cleaner now), thanks. @bors r+ |
bors
commented
Sep 4, 2022
bors
commented
Sep 4, 2022
bors
commented
Sep 4, 2022
☀️ Test successful - checks-actions |
rust-timer
commented
Sep 5, 2022
Finished benchmarking commit (289279d): comparison URL. Overall result: ❌ regressions - no action needed@rustbot label: -perf-regression Instruction countThis is a highly reliable metric that was used to determine the overall result at the top of this comment.
Max RSS (memory usage)ResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
Footnotes |
This implements the
IsZerotrait for theWrappingandSaturatingtypes so that users of these types can get the improved performance from the specialization of creating aVecfrom a single element repeated when it has a zero bit pattern (examplevec![0_i32; 500], or after this PRvec![Wrapping(0_i32); 500])CC #60978