cujojs / when

A solid, fast Promises/A+ and when() implementation, plus other async goodies.
Other
3.44k stars 396 forks source link

Improve node.apply/call/lift perf. Reduce mem usage #393

Closed briancavalier closed 9 years ago

briancavalier commented 9 years ago

There are now zero closures in makePromise, and zero on the hot path of when/node apply/call/lift. This improves the perf and reduces mem usage of promise.fold, and when/node call/apply/lift.