List iterator causes heap allocations?
<p>I'm profiling my android game and surprised to see that:</p>

<pre><code>for(O o : myArrayList)
{
}
</code></pre>

<p>Creates a bunch of heap allocations.</p>

<p>Aside from using a numeric <code>i++</code> for loop, is there a better way to get around this problem? Can I preallocate my iterators or something?</p>
