Files
rust/library/alloc/src
Joshua Wong 97005678c3 reduce Box::default stack copies in debug mode
The `Box::new(T::default())` implementation of `Box::default` only
had two stack copies in debug mode, compared to the current version,
which has four. By avoiding creating any `MaybeUninit<T>`'s and just writing
`T` directly to the `Box` pointer, the stack usage in debug mode remains
the same as the old version.
2025-01-26 03:48:27 -05:00
..
2024-11-27 12:10:21 +00:00
2024-08-09 20:06:26 -04:00
2024-12-02 18:16:36 +00:00
2024-07-29 08:26:52 +10:00
2025-01-03 12:01:31 +01:00
2025-01-22 09:19:24 +02:00
2024-12-05 21:48:01 +01:00
2025-01-11 22:36:25 +01:00
2024-11-06 18:54:50 +00:00
2024-12-22 19:48:36 +08:00
2024-12-05 14:14:17 -08:00