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

Do not use EnumSet for Material #2127

Merged
merged 2 commits into from Aug 8, 2023

Conversation

Jikoo
Copy link
Collaborator

@Jikoo Jikoo commented Aug 7, 2023

EnumSet is generally more performant for sets of enum entries, however, the Material enum is colossal. This results in the creation of a JumboEnumSet internally, which consumes much more memory even with very few entries.

EnumSet is generally more performant for sets of enum entries, however, the Material enum is colossal. This results in the creation of a JumboEnumSet internally, which consumes much more memory even with very few entries.
@Jikoo
Copy link
Collaborator Author

Jikoo commented Aug 7, 2023

(also yes this is a mistake by past me, oops)

@RoboMWM RoboMWM merged commit de1e72d into GriefPrevention:master Aug 8, 2023
1 check passed
@Jikoo Jikoo deleted the dev/remove-material-enumset branch August 8, 2023 20:51
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

Successfully merging this pull request may close these issues.

None yet

2 participants