[Webkit-unassigned] [Bug 186747] Reduce HashTable capacity wastage

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jun 17 10:57:03 PDT 2018


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

--- Comment #3 from Darin Adler <darin at apple.com> ---
(In reply to Simon Fraser (smfr) from comment #0)
> Maybe the policy should be that we don't store large objects in HashMaps,
> and store pointers instead?

The tradeoff is likely the extra overhead for the separate memory blocks for each object vs. the extra overhead for unused hash table buckets. It would be good to have a principled way to do the math on that to figure out which costs more.

-- 
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/20180617/c5c27243/attachment-0001.html>


More information about the webkit-unassigned mailing list