Re: [v8-users] Re: Why for loop will become faster if divided in two loop?

2017-04-12 Thread Jakob Kummerow
I cannot reproduce a difference here; both versions appear to have the same speed. (Of course there's some noise in the data, as always; so if you do just a single run of each version, then either one could get lucky or unlucky.) On Wed, Apr 12, 2017 at 12:02 PM, Rong Jie

[v8-users] Re: Why for loop will become faster if divided in two loop?

2017-04-12 Thread Rong Jie
I think this might be due to loop fission optimization (https://en.wikipedia.org/wiki/Loop_fission), even GCC (C++ compiler) sometimes does that when appropriate. -- -- v8-users mailing list v8-users@googlegroups.com http://groups.google.com/group/v8-users --- You received this message