"has" problem - speed...

"has" problem - speed...

".has('ul')" is much much much slower than ".filter(':has(ul)')". This seems counterintuitive.

I've only tested this in IE7 and chrome, and the issue is much more pronounced in IE7.

======
==IE7==
======
3.313 seconds -- $li.has("ul");
0.281 seconds -- $li.filter(":has(ul)");
==========
==Chrome==
==========
0.152 seconds -- $li.has("ul");
0.043 seconds -- $li.filter(":has(ul)");


Jquery version 1.4.2