Files
rust/library/alloc/src
bors 289279de11 Auto merge of #93455 - asquared31415:vec-zero-opts, r=thomcc
Implement internal `IsZero` for Wrapping and Saturating for `Vec` optimizations

This implements the `IsZero` trait for the `Wrapping` and `Saturating` types so that users of these types can get the improved performance from the specialization of creating a `Vec` from a single element repeated when it has a zero bit pattern (example `vec![0_i32; 500]`, or after this PR `vec![Wrapping(0_i32); 500]`)

CC #60978
2022-09-04 20:33:50 +00:00
..
2022-08-22 13:28:25 -07:00
2022-09-02 13:32:16 +01:00
2022-08-22 13:28:25 -07:00
2022-08-18 18:07:39 -04:00
2022-08-12 16:28:15 -04:00
2022-05-29 20:40:56 +01:00
2022-07-10 15:16:51 +04:00
2022-08-22 13:28:25 -07:00