Mihara / RasterPropMonitor

Plugin for Kerbal Space Program. This repository is out of date and is primarily of historic interest. See https://github.com/JonnyOThan/RasterPropMonitor
http://forum.kerbalspaceprogram.com/threads/57603
Other
116 stars 67 forks source link

Refactor JSIInternalRPMButtons #543

Closed MOARdV closed 8 years ago

MOARdV commented 8 years ago

Some of this code is particularly bad for performance, iterating over the same part list every query and every click. Most or all of it could be shunted to VesselModule (despite the problems that module has exhibited), and the many loops could be turned into lists maintained in the module and updated as-needed (onVesselModified, etc).