Re: svn commit: r1066963 - in /ant/core/trunk/src/main/org/apache/tools: ant/ ant/taskdefs/ ant/taskdefs/cvslib/ ant/taskdefs/email/ ant/taskdefs/optional/ ant/taskdefs/optional/depend/ ant/taskdefs/o

2011-02-17 Thread Stefan Bodewig
On 2011-02-18, Kevin Jackson wrote: > Interesting discussion - I tried to introduce some micro-optimizations > (pretty much like these) into the Tomcat codebase 8 years ago, but was > met with 'meh why bother?' responses as the thinking was that the vm > would pretty much make optimizations pointl

Re: svn commit: r1066963 - in /ant/core/trunk/src/main/org/apache/tools: ant/ ant/taskdefs/ ant/taskdefs/cvslib/ ant/taskdefs/email/ ant/taskdefs/optional/ ant/taskdefs/optional/depend/ ant/taskdefs/o

2011-02-17 Thread Kevin Jackson
Hi, >> On 02/04/2011 09:03 AM, Antoine Levy-Lambert wrote: >>> I did not know that using a final variable for the upper bound of a loop >>> instead of something.size() makes a difference in terms of performance. > >> Generally the preferred idiom is to use an iterator, > > Absolutely agreed, but