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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 10 19:45:59 PST 2011


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

           Summary: Avoid slow-path for put() in Array.slice()
           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: kling at webkit.org


Array.slice() currently creates the returned array early on.
We can defer it until we know the number of elements to include, and use the CreateCompact mechanism to avoid 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