where I can know how jquery selector works?
===

for example, when we use $(div span), how jquery do such search for us? it search span element first or div?

it seems that jquery official site have no explain these things. it just show us what's function through this api.

I want to know every type selector which how jquery implement.

so I can select best selector when I use it. 

do you know where I can get such info?