DescriptionOrderedHashTable implementation with Set and Map interfaces
OrderedHashTable is an insertion-ordered HashTable based on
Jason Orendorff's writeup of a data structure attributed to Tyler Close:
https://wiki.mozilla.org/User:Jorend/Deterministic_hash_tables
It is intended as the new backing store for JSSet/JSMap, as ES6 requires
insertion-order-based iteration. Note, however, that in the interest of
keeping the initial check-in small this patch does not yet include any
iteration support.
This change also doesn't yet touch any existing behavior, but in
a branch I've verified that these structures pass the existing
JSSet/JSMap mjsunit tests.
BUG=v8:1793
LOG=N
R=mstarzinger@chromium.org
Committed: https://code.google.com/p/v8/source/detail?r=20522
Patch Set 1 #
Total comments: 19
Patch Set 2 : Handlified #Patch Set 3 : Avoid test duplication with templates #Patch Set 4 : Added a PretenureFlag to Allocate #Patch Set 5 : Actually use pretenure flag #
Total comments: 4
Patch Set 6 : Patch for landing #
Total comments: 1
Messages
Total messages: 12 (0 generated)
|