Description[builtins] Add an initial fast-path to Object.assign.
In the case of a simple fast-mode receiver without fancy properties, we
can just walk over the descriptor array to find all its initial property
names. As long as the map stays the same, we can also use that
descriptor array to figure out how to handle the properties.
This speeds up
https://github.com/kpdecker/six-speed/tree/master/tests/object-assign by
~2x.
BUG=
Committed: https://crrev.com/6b89c6941b13373a7ab1c484bddffcd9d0fea559
Cr-Commit-Position: refs/heads/master@{#33895}
Patch Set 1 #Patch Set 2 : #
Total comments: 1
Messages
Total messages: 9 (3 generated)
|