| Summary: | Avoid 2 times name iteration in Object.assign | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Yusuke Suzuki <ysuzuki> | ||||
| Component: | JavaScriptCore | Assignee: | Yusuke Suzuki <ysuzuki> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | commit-queue, darin, fpizlo, ggaren, mark.lam, oliver | ||||
| Priority: | P2 | ||||||
| Version: | 528+ (Nightly build) | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Bug Depends on: | 146137 | ||||||
| Bug Blocks: | |||||||
| Attachments: |
|
||||||
|
Description
Yusuke Suzuki
2015-07-24 11:12:23 PDT
Created attachment 257471 [details]
Patch
Comment on attachment 257471 [details]
Patch
r=me
It seems like we might want to add caching for these property name lists. We have caching for enumerable property names, but not for these other varieties.
Comment on attachment 257471 [details]
Patch
Thank you for your review.
Your thought is right. (And actually, many `// FIXME: Use the enumeration cache.` exist in ObjectConstructor.cpp)
We need to extend the existing caching system to use it in these enumeration APIs.
Comment on attachment 257471 [details] Patch Clearing flags on attachment: 257471 Committed r187363: <http://trac.webkit.org/changeset/187363> All reviewed patches have been landed. Closing bug. |