kevin-montrose / Cesil

Modern CSV (De)Serializer
MIT License
65 stars 3 forks source link

Remove allocations when formatting enums #8

Closed kevin-montrose closed 3 years ago

kevin-montrose commented 4 years ago

A number of allocation occur when formatting a [Flags] enum - these should be removed.

This may be a bit tricky, as there isn't a convenient TryFormat(Span<char>) method available.