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

Optimize Chunk Generation #101

Open
sylv256 opened this issue Oct 14, 2021 · 4 comments
Open

Optimize Chunk Generation #101

sylv256 opened this issue Oct 14, 2021 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@sylv256
Copy link
Contributor

sylv256 commented Oct 14, 2021

The chunk generation is currently based on Minecraft's implementation. However, it can and should optimized. (see Lithium)

@valoeghese
Copy link
Collaborator

The worldgen in chunk generation is probably the main bottleneck. At some point I might use JFR or something and profile the worldgen to see what i can optimise.
I might just remove any unnecessary caches as well to try speed things up

@sylv256
Copy link
Contributor Author

sylv256 commented Oct 15, 2021

what's FIFOCache for?

@valoeghese
Copy link
Collaborator

I can't remember what I used it for. It's a first-in-first-out cache

@valoeghese
Copy link
Collaborator

I have a different kind of cache for worldgen

@sylv256 sylv256 added the enhancement New feature or request label Oct 16, 2021
@sylv256 sylv256 added this to the Version 2: 1.17 BETA milestone Oct 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants