With the introduction of enums with associated fields, we also added the ability for enumerators to hold tagged fields.
Like we do with structs, it would be good to support marking enums as compact, for users who want to opt-out of the extensibility provided by tags, in exchange for saving 1 byte by omitting TagEndMarker.
With the introduction of enums with associated fields, we also added the ability for enumerators to hold tagged fields. Like we do with
struct
s, it would be good to support markingenum
s as compact, for users who want to opt-out of the extensibility provided by tags, in exchange for saving 1 byte by omittingTagEndMarker
.