Ferram-Aerospace-Research icon indicating copy to clipboard operation
Ferram-Aerospace-Research copied to clipboard

Implement faster lookup of PartModules

Open siimav opened this issue 1 year ago • 3 comments

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.

siimav avatar Oct 16 '24 17:10 siimav

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

siimav avatar Oct 16 '24 18:10 siimav

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.

PXTSERYU avatar Jan 22 '25 17:01 PXTSERYU

@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.

Clayell avatar May 07 '25 22:05 Clayell