DescriptionDon't externalize fresh strings.
With the current API the embedder has to extrenalize a string each
time a string is encountered to avoid the cost of repeated character
copying/conversion. The issue here is that the externalization cost
itself is non-negligible (both in time and space) and should not be
paid for a rarely used string. This change is an attempt to predict a
string's usage frequency based on its freshness. A string is
considered fresh if it was recently allocated in the new space.
Committed: http://code.google.com/p/v8/source/detail?r=3878
Patch Set 1 #
Total comments: 1
Patch Set 2 : Review fixes. #Patch Set 3 : Added usage tracking. #Patch Set 4 : Typo. #Patch Set 5 : Tracking of string usage. #
Total comments: 6
Messages
Total messages: 6 (0 generated)
|