Description[base] Template hashmap on key and value
Adds template parameters for the TemplateHashMapImpl for the key and
value type, to allow them to be something other than pointers. To keep
the impact of this patch low, uses of TemplateHashMapImpl set these
types to void* to emulate the previous behaviour.
This is part of a wider set of changes discussed in:
https://groups.google.com/forum/#!topic/v8-dev/QLsC0XPYLeM
Committed: https://crrev.com/696dd65b80904ea9c029c3ce89d2a5307a1f69f6
Cr-Commit-Position: refs/heads/master@{#39530}
Patch Set 1 #Patch Set 2 : Initialise entries with placement new #
Total comments: 4
Patch Set 3 : Add some clarifying comments #Patch Set 4 : Update gyp/gn build files #
Dependent Patchsets: Messages
Total messages: 17 (9 generated)
|