[whatwg] Proposal: createImageBitmap should return a "Promise" instead of using a callback

Anne van Kesteren annevk at annevk.nl
Wed Jul 17 17:27:36 PDT 2013


On Wed, Jul 17, 2013 at 5:22 PM, Silvia Pfeiffer
<silviapfeiffer1 at gmail.com> wrote:
> It may well be that Promises are the right way to go for
> createImageBitmap(), but we are blazing a new trail here and need to
> be careful about the implications. For example, here is an interesting
> discussion thread with a statement that node.js originally used
> Promises, but moved away from them for several reasons, not least
> because they created a 20% performance degradation with v8:
> https://github.com/gladiusjs/gladius-core/issues/127#issuecomment-5212272

That number is about something else.


--
http://annevankesteren.nl/



More information about the whatwg mailing list