[Webkit-unassigned] [Bug 43742] New: Fast-path for array lookup with double subscript

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 9 13:12:55 PDT 2010


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

           Summary: Fast-path for array lookup with double subscript
           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


JSC currently chokes on this (rather neat) plasma demo:
http://www.bel.fi/~alankila/plasma.html

What happens is they store a precalc'd square roots in a huge array and look them up instead of calling Math.sqrt(). All fine, except for array lookups with double subscripts we currently convert the subscript to a string and look that up as a property.

We can detect this case and implement a fast-path for double subscripts that are 0 <= value <= UINT_MAX.

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