ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 46088] Performance (speed) of large path(s) must be improved.
Date Mon, 27 Oct 2008 16:55:37 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=46088





--- Comment #2 from Aleksandar Susnjar <asusnjar@hotmail.com>  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.

Mime
View raw message