logoalt Hacker News

dymkyesterday at 9:34 PM1 replyview on HN

It wasn’t replacing one rust enum, it was replacing what are effectively multiple enums


Replies

dzaimayesterday at 9:48 PM

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)

show 1 reply