JQuery selector - full or optimized scan?
<p>Code example:</p>

<pre><code>$JK("body *").each(function() { ... });
</code></pre>

<p>Will JQuery fill the elements' array first before calling <code>each()</code> or there is kinda <code>LINQ</code>-style optimization, so that <code>function</code> will be called during the DOM tree traversal? I guess that this optimization might (or not) be deployed into the JS engine. If so, how one can know if it is implemented for this or that engine/browser?</p>
