jcrist / msgspec

A fast serialization and validation library, with builtin support for JSON, MessagePack, YAML, and TOML

Home Page:https://jcristharif.com/msgspec/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

can msgspec provide a faster enum implementation?

aspizu opened this issue · comments

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.

also i would like if the api didn't require the usage of auto()