PROPOSAL: Enhanced for each loop iteration control

Mark Thornton mthornton at
Sat Mar 28 04:06:03 PDT 2009

Stephen Colebourne wrote:
>> There is the option to optimise this if the iteration control variable
>> is not assigned to any other variable or passed to any other method.
>> However, that is out of scope for now.
This should be left to the JVM and never done at source compile time. 
Improvements to HotSpot already implemented or planned for JDK 7 will 
probably achieve the desired effect.

Otherwise, not much to say.

Mark Thornton

More information about the coin-dev mailing list