Skip to content

Speed up loading times of large worlds #323

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

Merged
merged 2 commits into from
Feb 19, 2022
Merged

Speed up loading times of large worlds #323

merged 2 commits into from
Feb 19, 2022

Conversation

Insprill
Copy link
Contributor

@Insprill Insprill commented Jan 15, 2022

Speeds up the loading times of large worlds exponentially with the world size by pre-compiling the mca file regex pattern, and filtering the files concurrently. I did my testing on a 140GB world, and on 1.17.2 it took about 50 seconds to load, and with this, only 17 seconds. Along with the speed boost, it also adds a progress bar while the world is loading. I wasn't sure how you do localization so for now I just entered it in English in all files.

@Querz Querz merged commit b58217c into Querz:master Feb 19, 2022
@Insprill Insprill deleted the improvement/world-loading branch February 21, 2022 01:45
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.

2 participants