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

Primitive config #410

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open

Primitive config #410

wants to merge 8 commits into from

Conversation

CJCrafter
Copy link
Member

Fixes #395

This PR prevents boxing/unboxing of primitive types in maps. We can have easily 20+ unboxing events happen every tick per player, especially in triggers. The FastConfiguration class stores separate maps from fastutil, so each primitive type is handled separately.

@CJCrafter CJCrafter requested a review from DeeCaaD as a code owner April 15, 2024 02:58
@CJCrafter
Copy link
Member Author

WeaponMechanics.zip

a quick build if anybody wants to try this

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.

Faster Configuration
1 participant