[Webkit-unassigned] [Bug 146137] Object.getOwnPropertySymbols on large list takes very long

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 19 02:20:21 PDT 2015


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

--- Comment #1 from Yusuke Suzuki <utatane.tea at gmail.com> ---
This is because,

1. Object.getOwnPropertySymbols once create the array contains all symbols / non-symbol names.
2. And filter it in the getOwnPropertySymbols function.

So if there's a lot of names (not-symbol), it produces a large array once.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150619/72ff76c6/attachment.html>


More information about the webkit-unassigned mailing list