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

speed up the loading of the world #27

Open
maxilevi opened this issue Oct 21, 2018 · 1 comment
Open

speed up the loading of the world #27

maxilevi opened this issue Oct 21, 2018 · 1 comment
Assignees

Comments

@maxilevi
Copy link
Owner

after re-reading the code I realized a few things can be done to achieve this:

  • profile the code and find which queue is the bottleneck (the one that generated the chunk or the one that builds it).

  • optimize the generation queue by skipping the blocks that won't be used when building the chunk

  • farther chunks can be built with lod and only generating a few parts, updating them as they come closer.

  • avoid deleting and creating new chunks on ChunkLoader.cs

@maxilevi maxilevi self-assigned this Oct 21, 2018
@maxilevi
Copy link
Owner Author

this probably will improve #3

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

No branches or pull requests

1 participant