WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
172420
[JSC] Object.assign should have a fast path for usual final objects
https://bugs.webkit.org/show_bug.cgi?id=172420
Summary
[JSC] Object.assign should have a fast path for usual final objects
Yusuke Suzuki
Reported
2017-05-20 13:54:05 PDT
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.
Attachments
Add attachment
proposed patch, testcase, etc.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug