DescriptionReserve capacity for static strings HashMap.
The CoreInitialier and ModulesInitializer classes and now reserve the static strings HashMap capacity beforehand reducing the unneeded table re-creation and re-hashing of the contained elements at start up.
This patch also moves reservation capacity for QualifiedNames to CoreInitialier so that all the static strings initialization logic is encapsulated there.
Committed: https://crrev.com/65d5daa3dfa766ea89b2634d986488044659576f
Cr-Commit-Position: refs/heads/master@{#351548}
Patch Set 1 #
Total comments: 4
Patch Set 2 : Updated due to comments from tkent #Patch Set 3 : Call StringStatics::init() from WTF::Initialize #Patch Set 4 : Fixed the deduced string length (exclude NULL terminator) #Depends on Patchset: Messages
Total messages: 13 (5 generated)
|