Rust Internals
Can compiler’s optimizer eliminate trivial heap allocation?
compiler
the8472
September 14, 2024, 6:05pm
2
Why rustc 1.71 no longer eliminates Box allocations?
show post in topic
Related topics
Topic
Replies
Views
Activity
"The optimizer may further assume that allocation is infallible"
language design
72
6009
February 12, 2024
Manually freeing the pointer from ::into_raw?
language design
19
3052
August 29, 2023
Why rustc 1.71 no longer eliminates Box allocations?
compiler
12
1097
February 13, 2025
The way to see how memcpy and alloca introduced by move is optimized
compiler
3
1073
July 14, 2023
Layout is computed even for (de)allocators that don't use it
compiler
6
1186
July 18, 2022