title: Does jQuery use create document fragment inside each loops?
body: <p>So I've read that jQuery uses document fragments internally to make rendering faster.  But I am wondering if anyone knows if jQuery would use createDocumentFragment in this situation where I'm appending img elements to the DOM using the each loop?</p>
  
  <pre><code>var displayArray = []; // Lots of img elements
  
  $.each(displayArray, function()
  {
      $('#imgSection').append(this);
  });
  </code></pre>
  
  <p>Or would I need to use this code in order to reduce the number of browser reflows?</p>
  
  <pre><code>var displayArray = []; // Lots of img elements
  var imgHolder = $('&lt;div/&gt;');
  
  $.each(displayArray, function()
  {
      imgHolder.append(this);
  });
  
  $('#imgSection').append(imgHolder);
  </code></pre>
  
  <p>Also, the displayArray is populated by other code, not shown here, that creates img elements based off of paths in a JSON file.</p>
  
  <p>Thank you for any advice.</p>