Thread:Talk:JavaScript performance/Selector performance, contexts/reply (2)

That's one reason for the context argument, the other reason is more like for things like:

The idea of passing a selector as the second parameter for context is completely and absolutely unintuitive, you end up with the first selector run being written after the second one run, it's completely different from the way a normal person should expect to read it.

No good jQuery developer will suggest or thank you for using that.

In fact it's so unwelcome that the jQuery documentation doesn't even admit the fact that jQuery will technically accept a selector there.
 * context
 * A DOM Element, Document, or jQuery to use as context