speedup jQuerys .hide()

use addClass if you have many elements in favor of .hide() and removeClass for show();

.hide {
    display:none;
}

$('tr').addClass('hide')
$('tr').removeClass('hide')