[Webkit-unassigned] [Bug 152691] Web Inspector: Iterating over a Set/Map is too slow

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jan 4 16:48:22 PST 2016


--- Comment #3 from Saam Barati <sbarati at apple.com> ---
(In reply to comment #1)
> I guess we can improve this by making Set.prototype.forEach written in JS.
> Currently, it is implemented in C++, it avoid inlining the given callback.

But if you have many calls to Set.prototype.forEach, we're not going
to inline the call.

Is there a fast way to get an array of the elements in the set?
That way we could just iterate over that array?

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/20160105/008dbbca/attachment.html>

More information about the webkit-unassigned mailing list