antirez/load81 — Issue #17: Bug: Performance on Open Pandora is 'laggy' 
Author: seclorum
Created: 2012-03-07 11:45:31+00:00
State: open

For some reason, LOAD81 doesn't perform very well on the Open Pandora console - its useable, but seems to be very laggy. Normally such an SDL program on OpenPandora/Angstrom performs very, very well, but with LOAD81 there appears to be some performance issue in the inner loop of the app which results in lag. It is very noticeable with the "text.lua" demo, where the text lags behind the mouse cursors as it moves, by a few milliseconds.

It may be related to a build issue (I have built LOAD81 using the CDEV tools, which is an onboard toolchain which runs *on* the Pandora itself, -i.e. not cross-compiling, but native compiling on the Pandora hardware itself), or it could have something to do with the overall architecture of LOAD81 itself - is the Lua VM somehow being polled too often, or some other unnecessary code-branch being taken during execution of the Lua script, perhaps?