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
Store Option discriminant in Containing type (optimization)
compiler
6
621
May 9, 2025
Niche optimization makes use of niches, but padding bytes are neglected
compiler
15
528
October 22, 2024
Could we make the pointer niche bigger?
23
2392
July 10, 2022
Pre-RFC - Add alignment niches for references
language design
19
2995
March 10, 2022
Missed niche optimization on unions
language design
30
2412
May 19, 2022