RE: [jQuery-dev] Curious about Dave's Optimizations...
I committed these fixes, let me know if you have any problems with them,
especially Safari since I couldn't test it. I added test cases for some of
the new id searches.
I wasn't sure how to add test cases for the tbody fix but I did a few tests
here on a scratch page. There are still ways to fool the jQuery.clean code
with HTML table scraps in IE, but a bulletproof solution was going to be
longer and slower.
-----Original Message-----
From: Dave Methvin [mailto:dave.methvin@gmail.com]
Sent: Monday, December 18, 2006 5:33 PM
To: 'jquery-dev@bassistance.de'
Subject: RE: [jQuery-dev] Curious about Dave's Optimizations...
I have changes related to these tickets but need to clean up the test cases.
I'll get my butt moving on it tonight.
jQuery.merge speedup
http://jquery.com/dev/bugs/bug/444/
This exits the inner loop if it finds a duplicate, saving some time when
there are dups. The first comment by henrah in the bug was correct, I hadn't
thought about that case.
<tbody> duplicated
http://jquery.com/dev/bugs/bug/418/
I shortened domManip a lot but ended up having to pay most of it back to fix
jQuery.clean.
query for id in context ignores context
http://jquery.com/dev/bugs/bug/267/
This will make cases like div#myid slower but they will be correct.
Jörn already committed the fix for #511; I'll chime in on that one later.
-----Original Message-----
From: jquery-dev-bounces@bassistance.de
[mailto:jquery-dev-bounces@bassistance.de] On Behalf Of Brandon Aaron
Sent: Monday, December 18, 2006 4:14 PM
To: jquery-dev@bassistance.de
Subject: [jQuery-dev] Curious about Dave's Optimizations...
Dave,
I believe you had some optimizations to various parts of the jQuery core. I
think I remember I was going to test them in Safari but we couldn't get
synced up on them. Have they been committed to the core yet? Do they still
need more testing? I would hate to see them get lost.
--
Brandon Aaron
_______________________________________________
Jquery-dev mailing list
Jquery-dev@bassistance.de
http://lists.bassistance.de/mailman/listinfo/jquery-dev
_______________________________________________
Jquery-dev mailing list
Jquery-dev@bassistance.de
http://lists.bassistance.de/mailman/listinfo/jquery-dev