How can I performance tunning on that javascript code? (JQuery selector based)
<p>How can I performance tuning in that code</p>

<pre><code>var isHighLighted = this.HighlightCell(this.GetOutcomeInList(i), i, "selectedByEditor "+((isCommonChoice) ? "Common" : "") ); 

if (!isHighLighted) {
        isHighLighted = this.HighlightCell(this.GetOutcomeInOtherBetsButton(i), i, "selectedByEditor "+((isCommonChoice) ? "Common" : "") ); 
}

this.HighlightCell(this.GetOutcomeInOthers(i), i, "selectedByEditor "+((isCommonChoice) ? "Common" : "") ); 

var spacialcell = this.GetOutcomeInSpecial(i);
this.HighlightCell(spacialcell, i, "selectedByEditor "+((isCommonChoice) ? "Common" : "") );

if (spacialcell.length &gt; 0) {
        //Özel etkinliklerde kapalı alanları açar
        var eventDetails = $(spacialcell).parent().parent().parent();
        var eventHeaders = $(spacialcell).parent().parent().parent().prev().find('.Expand');

        if (eventDetails.attr('status') != 'expand') {
                eventDetails.show(); $(eventHeaders).not('.Collapse').addClass('Collapse');
                BetFilter.ChangeExpandButtonStatus(this, false);
        }
}
</code></pre>

<p>That function loop for each editor data in more than 1000 html cell elements. Editor data probably contains between 10 - 100 data. GetOutcomeInList, GetOutcomeInOtherBetsButton functions are jquery selectors returning spesific cells.</p>
