Custom jQuery filter selector slow when used with context

Custom jQuery filter selector slow when used with context

Hello,

I am having an issue with a custom filter selector I am using. It works, but it is quite slow when it is used in a context [ie. $('#selector', '#context')].

I have done some testing (you can see in the fiddle here:  http://jsfiddle.net/kcs7j/6/), and it seems when used with a context the filter is being executed for each node in the form, but without context it only executes once as normal.

I tried this with find and it also executes for each node, rather than finding the node and then filtering. Is this normal behaviour?