3 ms·
Definitely something that would benefit from the new Javascript "web workers" (worker threads). http://blog.mozbox.org/post/2009/04/10/Web-Workers-in-action ht
by sp332 17y ago
Definitely something that would benefit from the new Javascript "web workers" (worker threads). http://blog.mozbox.org/post/2009/04/10/Web-Workers-in-action http://blog.mozbox.org/post/2009/04/10/Web-Workers-in-action
- kingsley_20 17y agoweb workers don't have DOM access.
- sp332 17y agoI doubt updating the UI is real processor-intensive. The worker threads would do the math without blocking the UI.
- olliej 17y agoThe actual issue is parallelising it appropriately -- realistically the best you can do (with this approach) is hoist computation into a worker (which i'm working on) and you get hit by data transfer costs at that point as workers do not allow any form of data sharing between threads. I'm not sure if there is any way to feasibly improve threading of computation in a non-shared-state threading model.