DescriptionAvoid dictionary expansion during bootstrapping.
Allocate the code stubs dictionary and non monomorphic cache dictionary with an initial size which avoids these dictionaries to be expanded during bootstrapping. This gets rid of 9 dictionary expansions during bootstrapping.
Preallocate the dictionary when normalizing an object to a size sufficient for holding the number of properties which is expected to be added to the object. This is used when ceating an object from an object literal boilerplate where multiple properties are known to be added. This gets rid of 10 dictionary expansions during bootstrapping.
There are now 3 dictionary expansions left during bootstrapping.
Committed: http://code.google.com/p/v8/source/detail?r=2584
Patch Set 1 #Patch Set 2 : '' #
Total comments: 4
Patch Set 3 : '' #
Messages
Total messages: 3 (0 generated)
|