icerpc/slicec

Add Support for `compact` Enums

Closed this issue · 1 comments

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.

This was implemented in #686.