Description[base] Template MatchFun in TemplateHashMapImpl
Make MatchFun a template parameter in TemplateHashMapImpl, moving the
PointersMatch function down to an implementation which extends
TemplateHashMapImpl to void* key and value (i.e. the same as the current
HashMap and ZoneHashMap typedefs).
This will allow other instantiations of TemplateHashMapImpl, with
different MatchFun values, e.g. std::equal_to, to have their key
equality test inlined, rather than calling a function pointer,
Committed: https://crrev.com/837c91e87bbaaa046e94ad62d924059324a0c10d
Cr-Commit-Position: refs/heads/master@{#39868}
Patch Set 1 #
Total comments: 9
Patch Set 2 : Rebase #Patch Set 3 : Renaming and making PointersMatch a default param #Patch Set 4 : Rebase after forgetting to rebase #
Total comments: 4
Patch Set 5 : Remove bad search-replace #
Dependent Patchsets: Messages
Total messages: 30 (17 generated)
|