title: Remove rows from an HTML table
body: <p>I have a rather big table where I dynamically remove some rows. It works, but it is very slow. Right now it takes approx. 1.5 seconds to remove 50 rows on IE8 and Firefox (almost no difference between the browsers).</p>
  
  <p>I know that DOM manipulation is slow in general, but there must be a faster way to do this.</p>
  
  <p>Right now, I'm using this syntax:</p>
  
  <pre><code>$("#myTable tr").slice(250, 300).remove();
  </code></pre>
  
  <p>The offsets in the <code>slice()</code> method may vary. I use <code>slice()</code> since this was recommended in jQuerys help and other methods to perform the same thing - like <code>find()</code> or <code>eq()</code> - where not faster. I read about doing an <code>empty()</code> before the removal, but that was even slower.</p>