W3C home > Mailing lists > Public > whatwg@whatwg.org > July 2013

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

From: Anne van Kesteren <annevk@annevk.nl>
Date: Wed, 17 Jul 2013 17:27:36 -0700
Message-ID: <CADnb78ipfboH3_f2df8mVpEBrnzTK6+hQ103YytwmncVuAeumg@mail.gmail.com>
To: Silvia Pfeiffer <silviapfeiffer1@gmail.com>
Cc: Justin Novosad <junov@google.com>, WHAT Working Group <whatwg@whatwg.org>, Ian Hickson <ian@hixie.ch>
On Wed, Jul 17, 2013 at 5:22 PM, Silvia Pfeiffer
<silviapfeiffer1@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/
Received on Thursday, 18 July 2013 00:28:02 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 17:00:03 UTC