| ▲ | dymk 4 hours ago | ||||||||||||||||
It wasn’t replacing one rust enum, it was replacing what are effectively multiple enums | |||||||||||||||||
| ▲ | dzaima 3 hours ago | parent [-] | ||||||||||||||||
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) | |||||||||||||||||
| |||||||||||||||||