[Webkit-unassigned] [Bug 41920] New: Avoid slow-path for put() in Array.splice()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jul 8 17:25:18 PDT 2010


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

           Summary: Avoid slow-path for put() in Array.splice()
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: andreas.kling at nokia.com


The JSArray that Array.splice() ends up returning is currently created early on.

If we defer creation until we know the number of elements to accommodate, we avoid taking the put() slow-path when populating the array.

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