Real applications don't normally contain expensive dead code (what
programmer would waste their time writing that?).  If you find that your
application does contain such code, there is an easy workaround.


On Thu, May 23, 2013 at 2:24 PM, 刘玉龙 <[email protected]> wrote:

> 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.
>
>
>

-- 
-- 
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.


Reply via email to