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

feat: Allocate region file structures dynamically #348

Merged
merged 1 commit into from
Feb 22, 2025
Merged

Conversation

meyfa
Copy link
Owner

@meyfa meyfa commented Feb 22, 2025

Previously, there would always be memory reserved for 16 region files. This is simultaneously a large amount of space to reserve by default, and also a relatively low limit in case of multiple players and/or a large world. Now, the memory is allocated as needed, with a capacity of 1024 pointers to BASED items.

Previously, there would always be memory reserved for 16 region files.
This is simultaneously a large amount of space to reserve by default, and
also a relatively low limit in case of multiple players and/or a large world.
Now, the memory is allocated as needed, with a capacity of 1024 pointers
to `BASED` items.
@meyfa meyfa merged commit 2f4d02e into main Feb 22, 2025
3 checks passed
@meyfa meyfa deleted the feat/region-dynamic branch February 22, 2025 17:30
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.

1 participant