Issue 102: if (A == undefined) is slow
http://code.google.com/p/v8/issues/detail?id=102

New issue report by [EMAIL PROTECTED]:
codegen-ia32.cc, VisitCompareOperation generates inlined code for:
1) one-side is null; 2) typeof and string; 3) inlined smi's.

A command pattern is check a value against 'undefined'. Currently it falls
into the slow path that calls EQUALS js function, which calls 'toString' or
'toNumber' again. The worst part in a browser is that, DOMWindow.toString
needs domain security check.




Issue attributes:
        Status: Accepted
        Owner: [EMAIL PROTECTED]
        Labels: Type-Bug Priority-Medium

-- 
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to