Interesting. Thanks for sharing this Sandy. I wish there was more blog posts 
out there focusing on JS performance – I'm a bit shaky in this specific area.

Oskar

On 16 Apr 2010, at 20:26, Sanford Whiteman wrote:

>> complain.erase(parseInt(element.get('id')));
> 
> +'string' is faster cross-browser than parseInt('string').
> 
> While  performance  diff  is  is negligible between the two methods in
> FF/Saf/Chrome,  you'll  find  that unary + is 100% faster in IE... and
> 100% means a lot in IE.
> 
> -- S.
> 
> 
> 
> -- 
> Subscription settings: 
> http://groups.google.com/group/mootools-users/subscribe?hl=en

Reply via email to