DescriptionImprove JSReceiver::GetKeys Speed
The core bottleneck lies in N-square cost of array union. Depending on the size
of the arrays involved it makes sense to rely on a hash-set/table for the lookup.
LOG=N
BUG=v8:2904
Committed: https://crrev.com/007eac94a14f5b4db36babeaa1e8fd677aec2c17
Cr-Commit-Position: refs/heads/master@{#30797}
Patch Set 1 #Patch Set 2 : improvements #
Total comments: 2
Patch Set 3 : KeyAccumulator Implementation #Patch Set 4 : Removal of accidental changes #
Total comments: 2
Patch Set 5 : Removing UnionOfKey #
Total comments: 7
Patch Set 6 : Using OrderedHashSet #Patch Set 7 : Using OrderedHasSet #
Total comments: 2
Patch Set 8 : Fixing DCHECK #
Total comments: 16
Patch Set 9 : adressing comments #
Total comments: 2
Patch Set 10 : Fixing nits #Patch Set 11 : Compilation Fix #
Dependent Patchsets: Messages
Total messages: 41 (18 generated)
|