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

Improve chunk build performance by caching hasBetterLayer #21

Merged
merged 2 commits into from Jun 20, 2021

Conversation

comp500
Copy link
Contributor

@comp500 comp500 commented Jun 20, 2021

NightConfig is surprisingly slow at looking up config values, and hasBetterLayer() is called several times in baked model rendering, so this improves performance somewhat.

@LambdAurora
Copy link
Owner

Eh, weird, I thought I cached it.

@LambdAurora LambdAurora merged commit c54d760 into LambdAurora:1.17 Jun 20, 2021
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.

None yet

2 participants