Rust Internals
Missed layout optimization
compiler
jrose
December 18, 2023, 4:53am
13
Some previous discussion here, including notes from Swift:
show post in topic
Related topics
Topic
Replies
Views
Activity
Niche optimization makes use of niches, but padding bytes are neglected
compiler
14
855
July 24, 2024
Store Option discriminant in Containing type (optimization)
compiler
6
806
May 9, 2025
Pre-RFC: Allow array stride != size
language design
34
3798
January 16, 2023
Missed niche optimization on unions
language design
29
2863
February 18, 2022
Exploit the padding?
49
3388
June 30, 2021