can msgspec provide a faster enum implementation?
aspizu opened this issue · comments
aspizu commented
Description
if msgspec.Struct
is faster than dataclasses, can msgspec also provide enums?
There is fastenum
which claims to be faster than regular python enum. but its not written in C.
aspizu commented
also i would like if the api didn't require the usage of auto()