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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Apr 25 15:53:49 PDT 2010


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





--- Comment #12 from Caio Marcelo de Oliveira Filho <caio.oliveira at openbossa.org>  2010-04-25 15:53:47 PST ---
Created an attachment (id=54245)
 --> (https://bugs.webkit.org/attachment.cgi?id=54245)
Optimization for bind() used just for binding 'this' (non JIT case)

This patch follows the suggestion of Oliver Hunt in the bug comments. For the
non-JIT case, this will make the native implementation win all the other
JavaScript-only implementations we found out. In my local tests it even gets a
better result than the explicit 'function() { obj.method(); }' call.

We are using http://www.broofa.com/Tools/JSLitmus/tests/PrototypeBind.html as
the benchmark.

-- 
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