我有一个看起来像这样的循环:
$('#SomeSelectorID').find('.SomeElementsByClassName').each(function () {
$(this).some code here;
$(this).some other code there;
$(this).some other code here and there;
});
如果我写在循环的顶部var TheThis = $(this);然后替换$(this)为TheThis性能优化还是不是真的?