• In this case Espruino still soldiers on and allocates arrays (eg the buffer for your offscreen >graphics) split across memory - however that means that from then on every operation on that >data ends up substantially slower.

    This could be it as removing the draw of the outer yellow ring and reducing the arraybuffer to 128x128 from 160x160 seems to eliminate the issue all together and bring the time for the function down to 36ms.

    I think I am de-allocating all memory using freeResources(). will have a try of 'E.defrag()' at some point.

About

Avatar for user126378 @user126378 started