jQuery vs MooTools Nightly Benchmark


MooTools team suprised us by releasing 1.3 beta. One of the most notable features was Slick – very fast selector engine. It does not use MooTools code, so finally we can use it without attaching whole MooTools Core. On other side, as everybody knows, jQuery seems to have fastest selector engine among JavaScript libraries – SizzleJS . So include SizzleJS or Slick? Check our benchmarks and decide yourself.

Read entire post »


Add to Del.cio.us

RSS Feed

Add to Technorati Favorites

Stumble It!


Digg It!

        www.sajithmr.com

JavaScript oddities explained. Comparing.


This post is inspired by Brian Leroux and his wtfjs tumblr blog. JavaScript is full of unexplained oddities. I’m going to prove you that every each of them can be explained. There are several causes of such interpreter behavior: inaccurate specification, hyper-correct interpreting, understatements, waywardness of browsers creators. The first type of such ‘features’ are these related to comparing.

0.1 + 0.2 == 0.3

11111111111111113 != 11111111111111111

01234 != 0668

0123 == "0123"

NaN == NaN

3 != "03"

"4" - "1" == "1" + "2"

If you think that TRUE is answer to any of above expressions (and don’t know why it’s exactly opposite) then you should certainly read rest of this article.

Read entire post »


Add to Del.cio.us

RSS Feed

Add to Technorati Favorites

Stumble It!


Digg It!

        www.sajithmr.com