DescriptionString search performance improvements:
* Using memchr for first/only char lookup is faster than hand-coded
loop. It processes one machine word per iteration so it helps even
more on x64.
* Tweaked badness computation in simple search. We pay only for the
first char memchr scans, not for all of them.
Committed: http://code.google.com/p/v8/source/detail?r=4173
Patch Set 1 #
Messages
Total messages: 3 (0 generated)
|