<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Array destructuring is very slow"
href="https://bugs.webkit.org/show_bug.cgi?id=155146#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Array destructuring is very slow"
href="https://bugs.webkit.org/show_bug.cgi?id=155146">bug 155146</a>
from <span class="vcard"><a class="email" href="mailto:sbarati@apple.com" title="Saam Barati <sbarati@apple.com>"> <span class="fn">Saam Barati</span></a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=155146#c1">comment #1</a>)
<span class="quote">> 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</span >
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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>