User:Paul: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(Created page with '== Playing with the OpenWeb - What I've learnt == * If you want to compare colors, you may want to work in the Hue space (pure colors) : http://en.wikipedia.org/wiki/Hue * If y...')
 
Line 11: Line 11:
* JS objects sent to a Worker via postMessage are JSONified. Be careful with big arrays.
* JS objects sent to a Worker via postMessage are JSONified. Be careful with big arrays.


* You can't use Javascript 1.7/1.8 in a Worker
* You can't use Javascript 1.7/1.8 in a Worker.
 
...

Revision as of 04:50, 4 June 2009

Playing with the OpenWeb - What I've learnt

  • In a recursions, not tracing, so if you can (you always can) derecursify your functions.
  • JS objects sent to a Worker via postMessage are JSONified. Be careful with big arrays.
  • You can't use Javascript 1.7/1.8 in a Worker.

...