[Webkit-unassigned] [Bug 172420] New: [JSC] Object.assign should have a fast path for usual final objects

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat May 20 13:54:05 PDT 2017


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

            Bug ID: 172420
           Summary: [JSC] Object.assign should have a fast path for usual
                    final objects
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: utatane.tea at gmail.com

Object.assign performs [[Put]] in its loop. So it can invoke setters. That's why we need to check @propertyIsEnumerable for each key.
But, if we know that object does not have such a thing, we can drop this @propertyIsEnumerable checks completely.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170520/9305e21c/attachment.html>


More information about the webkit-unassigned mailing list