Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
subarctic
7 months ago
|
parent
|
context
|
favorite
| on:
A surprising enum size optimization in the Rust co...
When was this implemented? I remember when people used to have to manually flatten nested enums in order to save space
returningfory2
7 months ago
[–]
Many years ago I think, here:
https://github.com/rust-lang/rust/issues/46213
. (Found this via
https://lobste.rs/s/w3jjb2/surprising_enum_size_optimization...
)
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: