Creating two jQuery objects + a lookup $( $(...)[x] ) is faster than a
simple $(...).eq(x). That doesn't make much sense.

Currently the eq function looks like this:
eq: function( i ) {
        return this.slice( i, +i + 1 );
},

Are there any downsides to changing it to this (object unique IDs,
chaining)?

eq: function( i ) {
        return jQuery(this[i]);
},

That offers a 25% to 40% speed improvement across all browsers.
http://jquery.nodnod.net/cases/177

cheers,
- ricardo
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to