kevin-montrose / Cesil

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

Remove allocations when parsing enums #7

Closed kevin-montrose closed 3 years ago

kevin-montrose commented 4 years ago

There are currently no available TryParse()'s for enums that take a ReadOnlySpan<char>. This is being worked on..

Once that's landed, revisit the cases in DefaultTypeParsers where we're either allocation or "doing things the hard way".