https://issues.apache.org/bugzilla/show_bug.cgi?id=46088
--- Comment #2 from Aleksandar Susnjar <[EMAIL PROTECTED]> 2008-10-27 09:55:36
PST ---
I *did* mention the problems you re-state ("... it can contain mutable
pieces..."). And paths are presented as immutable themselves as there is no way
to affect them from the script once they are created.
I resolved my own problem by creating my own subclass which caches its own
results but also pre-wraps its component resource collection for added iterator
performance. I could share this source code, but this *would* cause problems if
someone expects file system changes to be reflected after caching (I don't have
such a problem).
I like the idea of adding "cache" attribute to Path (and other resource
collections).
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.