Skip to content

Implement faster lookup of PartModules#154

Open
siimav wants to merge 1 commit intodkavolis:masterfrom
siimav:KSPCF-go-brrrr
Open

Implement faster lookup of PartModules#154
siimav wants to merge 1 commit intodkavolis:masterfrom
siimav:KSPCF-go-brrrr

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

@PXTSERYU
Copy link

PXTSERYU commented Jan 22, 2025

Out of curiosity and since I'm not exactly tech-versed - how would I compile this for my own personal use from the source you've modified? Ferram has some performance issues on my end so it'd be nice to have.

@Clayell
Copy link

Clayell commented May 7, 2025

@PXTSERYU I've compiled siimav's changes into here if you just want the .dll files. The process of compiling them from source if you haven't done it before is a bit involved, but I'm in the RP-1 server (clayel) so feel to ask for help.

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.

3 participants