PROPOSAL: Enhanced for each loop iteration control (original) (raw)
Mark Thornton mthornton at optrak.co.uk
Sat Mar 28 04:06:03 PDT 2009
- Previous message: PROPOSAL: Enhanced for each loop iteration control
- Next message: PROPOSAL: Enhanced for each loop iteration control
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: PROPOSAL: Enhanced for each loop iteration control
- Next message: PROPOSAL: Enhanced for each loop iteration control
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]