On 2009-08-21, Stefan Bodewig <[email protected]> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to