-
-
Notifications
You must be signed in to change notification settings - Fork 172
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
Add a way to enumerate over the List to prevent allocation every time List is called #494
Comments
Yeah, that would be a great addition. PR away! |
akarboush
added a commit
to akarboush/SmartEnum
that referenced
this issue
Feb 21, 2024
closed by #497 |
akarboush
added a commit
to akarboush/SmartEnum
that referenced
this issue
Apr 28, 2024
This reverts commit 30d46af.
ardalis
added a commit
that referenced
this issue
Apr 28, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Introduce a way to enumerate the enum values without unnecessary memory allocation. This will be useful especially for scenarios requiring frequent iteration.
I'd happily do a PR if that's okay.
Something like this:
The text was updated successfully, but these errors were encountered: