You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This version introduced performance optimizations:
Now Task scheduler is no longer implemented in pure functional style as number of allocations caused by it was in top 5 for browser.html code base. Instead now forking a task creates a mutable Process instance that attempts to do almost no allocations while stepping through tasks.
Several code paths used try / finally blocks which hit unoptimized path on spider-monkey. Use of try / catch on the other hand is optimized, there for with this change we should hit the optimized path.
Breaking API changes
Now Task.create is deprecated in favor of new Task
Task.fork(task) now returns Process instance (it used return void)
Now execute in new Task(execute) may return an abort function which scheduler may use to abort running task.