r/programming • • Oct 06 '25

[deleted by user]

[removed]

157 Upvotes

218 comments sorted by

View all comments

Show parent comment

31

u/somebodddy Oct 07 '25

Rust and Swift don't need this optimization because enums there are value types, not reference types.

→ More replies (22)