Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can msgspec provide a faster enum implementation? #674

Open
aspizu opened this issue Apr 30, 2024 · 1 comment
Open

can msgspec provide a faster enum implementation? #674

aspizu opened this issue Apr 30, 2024 · 1 comment

Comments

@aspizu
Copy link

aspizu commented Apr 30, 2024

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
Copy link
Author

aspizu commented Apr 30, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant