logoalt Hacker News

dzaimayesterday at 9:48 PM1 replyview on HN

How so? It's replacing multiple enum variants, but just one enum, "enum Value".

(also; if anything, the title is implying the exact opposite of "Rust compiler was able to optimize ...", "Replacing a Rust [...] with [...]" is clearly moving away from Rust-magic to something else)


Replies

Brian_K_Whiteyesterday at 11:28 PM

Probably in the sense that you can remove the word rust and nothing changes. It's not about some failure of rust to be efficient at enums, but the title says it is.

show 1 reply