Chromium Code Reviews
DescriptionRandom hashes with a more cache-friendly distribution
This is a hashcode implementation for ES6 Map and Set that gives better locality of reference. This is a different more complicated version of https://codereview.chromium.org/1157073002/ that is less likely to cause
problems for an open addressing hash (but note that ES6 Map and Set do not currently use open addressing). I put it here for reference.
This one also gives a good speedup on the modified example from bug 4086. Where the original CL lowers runtime by 62%, this change only gives about 53% reduction.
R=adamk@chromium.org, verwaest@chromium.org
BUG=
Patch Set 1 #Patch Set 2 : Revert inadvertent change! #
Total comments: 1
Messages
Total messages: 2 (0 generated)
|
|||||||||||||||||||