[Webkit-unassigned] [Bug 190792] topPrivatelyControlledDomain is slow

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Oct 22 10:20:08 PDT 2018


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

--- Comment #8 from Antti Koivisto <koivisto at iki.fi> ---
> Seems very aggressive to clear the whole cache? Why not simply kick one
> value out like we usually do?

I tested and it turns out it is a terrible strategy for this sort of thing at least in the usual 'map.remove(map.begin())' form. Since the table is never rehashed we always end up removing keys that hash to the early part of the table and the rest are stuck forever.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20181022/45daf706/attachment.html>


More information about the webkit-unassigned mailing list