DescriptionProbe the symbol table for two character strings in native code
All two character string results from adding two strings and from sub string used to be handled in the runtime system as a lookup in the symbol table was done before allocating a new string. The native code for string add and sub string now probes the symbol cache for two character strings to avoid the runtime call. If the result string is not found in the symbol table within a fixed number of probes a new string is just allocated. Newly allocated two character strings are not added to the symbol table immediately.
Committed: http://code.google.com/p/v8/source/detail?r=3842
Patch Set 1 #
Total comments: 16
Patch Set 2 : '' #
Messages
Total messages: 3 (0 generated)
|