ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: Scanning Resource Collections Several Times
Date Fri, 21 Aug 2009 09:29:14 GMT
On 2009-08-21, Stefan Bodewig <> wrote:

> I'd like to modify Resources to

>     (1) lazily initialize size() - Delete never asks for it, for
>         example.

>     (2) Cache the remaining iteration results when initializing size

> Does anybody see a problem with this?

It could be even more aggressive by always using the cache in iterator()
as well, but I suspect there is a reason we haven't cached Resources so
far at all.


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

View raw message