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 JSIVariableAnimator #542

Closed MOARdV closed 8 years ago

MOARdV commented 8 years ago

Right now, this module is one of the most heavily used in the ALCOR lander, averaging 313 Update calls per frame. It also means that when it fires for an update, it can cause hiccups in the frame rate. I need to look at how JSIVariableAnimator is used, and find ways to make its updates less costly.

MOARdV commented 8 years ago

Based on the usage patterns, it doesn't look like anything else needs changed - refactoring the VariableOrNumber looks like it was sufficient.