Skip to content

perf: Optimize other resource converter modules#169

Merged
Phantomical merged 4 commits into
KSPModStewards:masterfrom
Phantomical:opt-drills
May 10, 2026
Merged

perf: Optimize other resource converter modules#169
Phantomical merged 4 commits into
KSPModStewards:masterfrom
Phantomical:opt-drills

Conversation

@Phantomical
Copy link
Copy Markdown
Contributor

@Phantomical Phantomical commented May 10, 2026

This is basically the same as #168, but for the other modules.

The main changes are:

  • These are now implemented using BaseConverter's hooks.
  • systemEfficiency is now properly applied via GetHeatThrottle
  • Each module now fully disables itself when inactive.

When IsActivated is false these won't do anything. In this case we can
save a bunch of time by completely disabling the module, instead of
constantly running useless FixedUpdate calls that don't do anything.
@Phantomical Phantomical merged commit bdc26fb into KSPModStewards:master May 10, 2026
1 check passed
@Phantomical Phantomical deleted the opt-drills branch May 10, 2026 21:48
@Phantomical Phantomical mentioned this pull request May 11, 2026
Phantomical added a commit that referenced this pull request May 11, 2026
This adds changelog entries for #170 and #169
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