[Webkit-unassigned] [Bug 44037] New: JSC: Move the static_cast into to(U)Int32 fast case

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Aug 15 13:48:00 PDT 2010


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

           Summary: JSC: Move the static_cast into to(U)Int32 fast case
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: Performance
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: andreas.kling at nokia.com
                CC: oliver at apple.com


Converting a double JSValue to an int32 (or uint32) is fairly expensive since it includes the overhead of calling to(U)Int32SlowCase.

We could move the ideal case (static_cast<(u)int32_t> of double value within range) out of the slow case for a performance boost on conversion-heavy pages such as http://www.bel.fi/~alankila/plasma.html

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