KSP-KOS/KOS — pull request #214 by Dunbaratu (2014-08-10 08:39:53+00:00)
Title: Resolves #104 - upper limit on trigger duration.

The change simply involved taking the logic that had existed only in continueExecution() (which handles the mainline code update) and moving it a bit farther out so it's wrapped around the whole update, including both the trigger and mainline code executions.

I also changed the default CONFIG:IPU from 100 to 150, since it's now counting things it had been ignoring before. **HOWEVER THIS CHANGE WILL BE IGNORED** for most users who've used kOS before, because kOS writes out a config file to the mod folder with current settings, and whatever is in the config file will override the defaults in this code. - so the 100 that's in people's configs will still be the setting. **This needs to be mentioned in the release notes!** - *When people use this new version, they need to change their CONFIG:IPU setting manually once the first time after they install the version, or else they'll suddenly notice their programs are much slower than they used to be (if they use a lot of triggers, that is).*

I also added stats on max number of instructions that happened in a single update to the CONFIG:STAT printout - to help warn if the code is getting close to a problem point.