3 ms·
Can you point out some layout optimizations that are done? I could not make out much of your link sadly.
by fulafel 8y ago
Can you point out some layout optimizations that are done? I could not make out much of your link sadly.
- the8472 8y agoLook at the "Size optimizations implemented so far" section. It's mostly about packing enum discriminators into unused bits and bytes. Beyond that rust has always done field reordering to minimize wastage from alignment gaps. Other optimizations are still being planned.