[jQuery] selector speedup

[jQuery] selector speedup


Hi all
I profiled my script with firebug and have seen that the "filter()"
function is called very often.
As far as I see this function is called when i use a selector like
$("table[name="+name+"]")...
Is there a possibility to speed that up?
In XSLT there is the "key" function.
see:
http://www.w3schools.com/xsl/func_key.asp
It's used to make XPATH queries fast.
Is there a function like xslt:key for selectors in Jquery?
thanks
Bernhard