Is Redundant Programming in Java Inefficient? : <p>For example I have 3 calls of one method (always 3 calls) and I need to pass 1 to method for the first call 2 for the second and 3 for the third. I can solve that Problem in 2 ways. Either make 3 calls with 1, 2, 3 or use a for loop.</p>

<pre><code>call(1);
call(2);
call(3);

for (int i = 1; i &lt;= 3; i++) {
    call(i);
}
</code></pre>

<p>The question is what will run faster. As I know this depends completly on the Java Compiler, because it could make optimizations on the for loop.</p>

<p>In plain C the redundant way would be a little bit faster I guess, because there is no counter needed to increment and compare.</p>
