ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 20103] - FileSet horrible performance when dir has huge number of subdirs
Date Thu, 19 Jun 2003 21:00:53 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20103>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20103

FileSet horrible performance when dir has huge number of subdirs





------- Additional Comments From levylambert@tiscali-dsl.de  2003-06-19 21:00 -------
I have attached a patch which might improve the performance of DirectoryScanner 
when processing a large number of include patterns pointing to specific files or 
directories, rather than **/*.html for instance.
It would be good if people in the ant community have a look at this patch and 
suggest further improvements. Also cast a critical eye on it for side effects.

Other remark : the DirectoryScanner already today does not scan everything under 
its basedir if one is using include patterns which do not start with **. 

Concerning the scanner used in the ftp task, I need to have a look at it and see 
if I can do a similar work like the one I have done for local files.

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


Mime
View raw message