Note: At every end of cycle, a relatively large chunk of time si spent calculating next cycle, which apears to cause a noticeable slowdown. Threading the calculation and resetting the cycle once it's done would look better, but I'm not sure how complex it would be to implement.
Note: At every end of cycle, a relatively large chunk of time si spent calculating next cycle, which apears to cause a noticeable slowdown. Threading the calculation and resetting the cycle once it's done would look better, but I'm not sure how complex it would be to implement.