Files
rust/library
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-09-02 16:09:58 -04:00
2022-08-31 18:24:55 +08:00
2022-06-03 17:16:41 -04:00
2022-08-23 16:24:59 +02:00
2022-08-07 11:56:12 -04:00