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

Implement faster lookup of PartModules #154

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

Conversation

siimav
Copy link

@siimav siimav commented Oct 16, 2024

This means adding a dependency for KSPCF though.
I tried to preserve the original behavior of code wherever possible but some PartModule is null checks got removed. However I don't believe these were actually necessary.

This means adding a dependency for KSPCF though.
@siimav
Copy link
Author

siimav commented Oct 16, 2024

Some profiler stats collected while launching a 246 part vessel in RO:
ModularFlightIntegrator.FixedUpdate(): 1.91ms -> 1.49ms
FlightGUI.FixedUpdate(): 0.39ms -> 0.15ms

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