ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject 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/optional/depend/constantpool/ ant/taskdefs/optional/i18n/...
Date Sat, 05 Feb 2011 05:04:51 GMT
On 2011-02-04, Jesse Glick wrote:

> 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 that would have been a bigger change so I shied
away from it (as well as from replacing Vectors with some other lists in
various places).


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message