Skip to main content
Jeff__Ward
Inspiring
September 4, 2013
Question

AIR 3.9 Android Workers Tested

  • September 4, 2013
  • 0 replies
  • 1340 views

HI all,

I have a Worker compatibility library that allows you to develop pseudo-threaded code that will take advantage of Workers when available, and will fall back to pseudo-threads when not available (Flash Player < 11.4, workersSupported=false, iOS).  I ran this code without modification through the new AIR 3.9 with Android Worker support and it worked like a charm.

See my blog post and the AS3-Worker-Compat library on github for details.

I need to further investigate tuning the pseudo-threading scheduler to ensure that pseudo-threads are not hampering performance too much.  I did notice that my pseudo-threaded JPEGEncoder (in pure AS3) was much, much slower on Android than the native JPEGEncoder class, though that's partially because of pseudo-threading, and partially because the native implementation is much faster.

Best,

-Jeff

This topic has been closed for replies.