Comment

Comment by grandempire

No. This is how sum types are implemented.

And from a runtime perspective it’s going to be a struct with perhaps more padding. You’ll need more details about your specific threat model to explain why that’s bad.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton