Sizzle: John Resig has a new selector engine
Written by on August 25th, 2008 in Uncategorized.
John Resig is working on a new selector engine called Sizzle:
This is a new selector engine that I’m working on.
It’s a work in progress! Not ready for use yet!
It’s definitely not ready yet (got some minor outlier bugs in the standards-compliant browsers - and a bunch of major bugs in IE still left to tackle) but the results are already promising.
4x faster in Firefox 3, 3x faster in Opera 9, 1.5x faster in Safari 3 than the other major JavaScript libraries. It’s completely standalone (no library dependencies) and clocks in at under 4kb.
I’m just committing my code before moving on to work on IE - so beware. And yes, I expect this engine to become the new default selector engine in jQuery.
Just 594 lines of code so far, check it out.
Source: Ajaxian » Front Page
Original Article: http://feeds.feedburner.com/~r/ajaxian/~3/373996684/sizzle-john-resig-has-a-new-selector-engine