JQuery/JavaScript performance using $(this)
<p>I find myself doing a lot of this kind of JQuery:</p>

<pre><code>$('.filter-topic-id').each(function () {
    var me = $(this);
    if (me.text() == topics[k]) {
        me.parent().show();
    }
});
</code></pre>

<p>I store <code>$(this)</code> in a variable called <code>me</code> because I'm afraid it will re-evaluate <code>$(this)</code> for no reason. Are the major JavaScript engines smart enough to know that it doesn't have to re-evaluate it? Maybe even JQuery is smart enough somehow?</p>
