3 ms·
Indeed, I'm surprised the author doesn't know about them (or atleast doesn't mention them). Especially since even the async-await strawman (the first thing you'
by Arnavion 12y ago
Indeed, I'm surprised the author doesn't know about them (or atleast doesn't mention them). Especially since even the async-await strawman (the first thing you'd find when googling for async-await in JS) demonstrates an implementation via generators...
- skeeterbug 12y agohttps://github.com/srikumarks/cspjs https://github.com/srikumarks/cspjs - The readme has benchmarks from bluebird generators. It is only 74 ms slower than the sweet.js solution. So the author knows.
- inglor 12y agoLook at the author's post on using promises. The author does not understand promises very well yet.