On 2009-08-21, Stefan Bodewig <bode...@apache.org> 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

http://svn.apache.org/viewvc?rev=806471&view=rev

> 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.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org
For additional commands, e-mail: dev-h...@ant.apache.org

Reply via email to