[Webkit-unassigned] [Bug 43742] REGRESSION(r58469): Math.pow() always returns double-backed JSValue which is extremely slow as array subscript

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Aug 18 15:07:35 PDT 2010


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





--- Comment #13 from Andreas Kling <andreas.kling at nokia.com>  2010-08-18 15:07:34 PST ---
(In reply to comment #12)
> Created an attachment (id=64777)
 --> (https://bugs.webkit.org/attachment.cgi?id=64777) [details]
> Proposed patch v3
> 
> New approach - add codegen for pow() to return Int32 values when possible.

Callgrind says: SunSpider is 0.000139% slower with my change.

But comparing http://www.bel.fi/~alankila/plasma.html before/after is night/day.

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