[Webkit-unassigned] [Bug 190957] New: Use random() instead of begin() to limit cache sizes
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Oct 26 05:53:29 PDT 2018
https://bugs.webkit.org/show_bug.cgi?id=190957
Bug ID: 190957
Summary: Use random() instead of begin() to limit cache sizes
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: WebCore Misc.
Assignee: webkit-unassigned at lists.webkit.org
Reporter: koivisto at iki.fi
We use cache.remove(cache.begin()) pattern to limit sized of various caches. This is a bad pattern for tables that never rehash (because they have fixed maximum size) as most of the keys get permanently stuck in the table.
--
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/20181026/c9e83625/attachment.html>
More information about the webkit-unassigned
mailing list