| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2025-01-10 | alloc: remove unsound `IsZero` for raw pointers | joboet | -13/+2 | |
| Fixes #135338 | ||||
| 2024-10-25 | library: consistently use American spelling for 'behavior' | Ralf Jung | -1/+1 | |
| 2024-02-22 | Use generic `NonZero` everywhere in `alloc`. | Markus Reiter | -32/+19 | |
| 2023-01-18 | Update `IsZero` documentation | clubby789 | -1/+2 | |
| 2023-01-18 | Implement `alloc::vec::IsZero` for `Option<$NUM>` types | clubby789 | -0/+17 | |
| 2023-01-14 | Remove various double spaces in source comments. | André Vennberg | -1/+1 | |
| 2022-10-02 | Do the `calloc` optimization for `Option<bool>` | Scott McMurray | -0/+22 | |
| Inspired by <https://old.reddit.com/r/rust/comments/xtiqj8/why_is_this_functional_version_faster_than_my_for/iqqy37b/>. | ||||
| 2022-09-02 | implement IsZero for Saturating and Wrapping | asquared31415 | -0/+16 | |
| 2022-07-24 | Support vec zero-alloc optimization for tuples and byte arrays | AngelicosPhosphoros | -4/+32 | |
| * Implement IsZero trait for tuples up to 8 IsZero elements; * Implement IsZero for u8/i8, leading to implementation of it for arrays of them too; * Add more codegen tests for this optimization. * Lower size of array for IsZero trait because it fails to inline checks | ||||
| 2022-05-01 | Tweak the calloc optimization to only apply to shortish-arrays | Scott McMurray | -1/+8 | |
| 2022-03-27 | Support arrays of zeros in Vec's __rust_alloc_zeroed optimization | Scott McMurray | -1/+8 | |
| 2021-05-30 | Fix a typo | r00ster | -1/+1 | |
| 2021-05-26 | Enable Vec's calloc optimization for Option<NonZero> | Scott McMurray | -0/+33 | |
| 2020-12-29 | style: applying Rust style | C | -1/+1 | |
| 2020-12-29 | refactor: moved IsZero into is_zero.rs | C | -0/+71 | |
