[Webkit-unassigned] [Bug 26382] [ES5] Implement Function.prototype.bind

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Apr 23 07:57:16 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=26382


Caio Marcelo de Oliveira Filho <caio.oliveira at openbossa.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #53992|0                           |1
        is obsolete|                            |




--- Comment #4 from Caio Marcelo de Oliveira Filho <caio.oliveira at openbossa.org>  2010-04-23 07:57:15 PST ---
Created an attachment (id=54158)
 --> (https://bugs.webkit.org/attachment.cgi?id=54158)
Attempt 2 to implement Function.prototype.bind()

This clean up some minor issues, adds tests and more build systems support. The
implementation for a very simple case (just binding 'this' in a small function
without parameters), is around 4 times slower than using JS directly. When
there's complexity, this difference is smaller: taking around 50% more time in
more complex cases (with curried parameter and a larger function). Talking to
Oliver Hunt, if I understood correctly this overhead might be due the
re-entering the VM.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list