[Webkit-unassigned] [Bug 155146] Array destructuring is very slow

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 7 10:42:04 PST 2017


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

--- Comment #2 from Saam Barati <sbarati at apple.com> ---
(In reply to comment #1)
> In Safari Technology Preview array destructuring has improved greatly!
> However it is still considerably slower than normal array access: (~7x down
> from ~20x).
> 
>     [Log] Array - Normal - 2ms
>     [Log] Array - Destructuring - 15ms
>     [Log] Object - Normal - 1ms
>     [Log] Object - Destructuring - 1ms

I think we really need more comprehensive support for making the iterator protocol fast. Whatever we do to make for-of faster, should also make this faster.

-- 
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/20170307/4b496955/attachment.html>


More information about the webkit-unassigned mailing list