And using : http://gfx.neohub.com/benchmark/creator.html

Firefox: slower by alot using constructor
IE : faster by alot using constructor

return ('hi'.constructor == String);
vs
return (typeof 'hi' == 'string');

IE: faster by alot using constructor
Firefox : mixed (sometimes slower sometimes faster)

return ({}.constructor == Object);
vs
return (typeof {} == 'object');

I have tried both in my applications and dont notice a speed decrease
in firefox (using firebug) that is notable.



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype: Core" group.
To post to this group, send email to prototype-core@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/prototype-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to