OK. I will remember this :) Anyway, it's not bad if compiler can auto remove the dead code~
在 2013年5月23日星期四UTC+8下午4时57分05秒,Sven Panne写道: > > Further note: When your test on IE10 shows that it is almost twice as fast > as the plain old for loop, check if your test contains dead code. IE10 is > very good at removing this, it easily gives you good benchmark scores > without actually doing anything fantastic, because a lot of benchmarks > contain lots of dead code. Well-known compiler writer trick for decades... > ;-) > -- -- v8-users mailing list [email protected] http://groups.google.com/group/v8-users --- You received this message because you are subscribed to the Google Groups "v8-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
