Hacker News new | past | comments | ask | show | jobs | submit login

Can you point out some layout optimizations that are done? I could not make out much of your link sadly.



Look 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.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: