title: Performance between looping twice separately and looping within a loop
body: <p>Is there any performance difference between looping twice separately and looping within a loop?
  How to prove it or calculate it?</p>