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

Reduced number of exported chunks per region when no ceiling dimension is present. #408

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

qf200011
Copy link

Currently when going through firstPass, we always run through a 34 by 34 chunk area to export a region. The reason there are 2 extra per axis is because padding was being used for the ceiling dimension since chunks rely on adjacent chunks. When not using the ceiling dimension, this adds some extra overhead to exports and this can theoretically be reduced by ~11.4%.

This change will only use a 34 by 34 area when a ceiling dimension is used. Otherwise, a 32 by 32 area will be used. This is particularly useful for larger exports where we don't cut off the edges of regions because of the map size.

…32 by 32 instead of 34 by 34.

Reducing the number of chunks generated by ~11.4% in theory (but probably less due to edges not generating all chunks).
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