[Webkit-unassigned] [Bug 207349] [WTF] Introduce linear-search-threshold for HashTable

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Feb 6 13:46:06 PST 2020


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

--- Comment #1 from Yusuke Suzuki <ysuzuki at apple.com> ---
(In reply to Yusuke Suzuki from comment #0)
> Let's add linear-search-threshold for HashTable to use higher load-factor
> for smaller hashtable.
> 
> 1. Like, setting a linear-search-threshold to 8.
> 2. Up to 7, we extend capacity when we hit capacity - 1, which is higher
> load-factor than 75%.

And we should revisit minimumTableSize = 8 definition too. I think this is defined in pre-bmalloc era. So it is assuming malloc is enough slow.

-- 
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/20200206/ba6b42c8/attachment.htm>


More information about the webkit-unassigned mailing list