rust/library/alloc
Josh Stone 9aa7dd1e6a Specialize Box clones to try to avoid locals
For generic `T: Clone`, we can allocate an uninitialized box beforehand,
which gives the optimizer a chance to create the clone directly in the
heap. For `T: Copy`, we can go further and do a simple memory copy,
regardless of optimization level.
2021-01-11 17:43:10 -08:00
..
benches Reorder benches const variable 2020-09-29 21:39:24 +08:00
src Specialize Box clones to try to avoid locals 2021-01-11 17:43:10 -08:00
tests Auto merge of #79895 - Kerollmops:slice-group-by, r=m-ou-se 2020-12-31 12:00:43 +00:00
Cargo.toml Update compiler_builtins to 0.1.39 2021-01-07 16:16:36 +09:00