DescriptionUse direct loop when filling small arrays.
r3995 (http://code.google.com/p/v8/source/detail?r=3995) introduce performance
regression for the case when arrat size is small (think new Array(4)).
It turns out that in those cases rep stos is slower than plain loop (apprently
due to ecx increment, but I didn't check this hypothesis.) The next thing
to try could be direct jump into right place of long sequence of stos'es.
Committed: http://code.google.com/p/v8/source/detail?r=4664
Patch Set 1 #
Total comments: 2
Patch Set 2 : Named constant added #
Messages
Total messages: 3 (0 generated)
|