title: Counting down in for-loops
body: <p>I believe (from some research reading) that counting down in for-loops is actually more efficient and faster in runtime. My full software code is C++</p>
  
  <p>I currently have this:</p>
  
  <pre><code>for (i=0; i&lt;domain; ++i) {
  </code></pre>
  
  <p>my 'i' is unsigned resgister int,
  also 'domain' is unsigned int</p>
  
  <p>in the for-loop i is used for going through an array, e.g.</p>
  
  <pre><code>array[i] = do stuff
  </code></pre>
  
  <p>converting this to count down messes up the expected/correct output of my routine.</p>
  
  <p>I can imagine the answer being quite trivial, but I can't get my head round it.</p>
  
  <p>UPDATE: 'do stuff' does not depend on previous or later iteration. The calculations within the for-loop are independant for that iteration of i. (I hope that makes sense).</p>
  
  <p>UPDATE: To achieve a runtime speedup with my for-loop, do I count down and if so remove the unsigned part when delcaring my int, or what other method?</p>
  
  <p>Please help.</p>