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 mteTESR #245

Merged
merged 2 commits into from
Nov 20, 2021
Merged

optimize mteTESR #245

merged 2 commits into from
Nov 20, 2021

Conversation

Yefancy
Copy link
Contributor

@Yefancy Yefancy commented Nov 19, 2021

It's a simple PR, but well worth it.

intention

Since MTES ALL are TESR, whether or not the GT machine needs to render dynamically is traversed on every frame of rendering. This is expensive that gt machines that are almost always model-based.

how

The MTE is checked to see if TESR is required during chunk compiled.
No longer need to traverse machines that not include TESR, avoiding meaningless collision box detection, render detection....

@serenibyss serenibyss merged commit d985cc4 into master Nov 20, 2021
@serenibyss serenibyss deleted the optimizeTESR branch November 20, 2021 19:56
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