-
Here we really reduce down how many times we step the lua engine. This should further reduce the CPU usage esspecially during idle. Basically what is being down is that we only step the lua thread when there are new events, or we need a repaint, and for 2 seconds after any user interaction. We also wake up once per second to process background processes when nothing else is occuring. Further refinement may be necessary, but CPU usage should finally be reasonable.
Here we really reduce down how many times we step the lua engine. This should further reduce the CPU usage esspecially during idle. Basically what is being down is that we only step the lua thread when there are new events, or we need a repaint, and for 2 seconds after any user interaction. We also wake up once per second to process background processes when nothing else is occuring. Further refinement may be necessary, but CPU usage should finally be reasonable.