Return-Path: Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 43560 invoked by uid 500); 19 Jun 2003 20:58:29 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 43549 invoked from network); 19 Jun 2003 20:58:29 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 19 Jun 2003 20:58:29 -0000 Received: (qmail 7908 invoked by uid 50); 19 Jun 2003 21:00:53 -0000 Date: 19 Jun 2003 21:00:53 -0000 Message-ID: <20030619210053.7907.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: dev@ant.apache.org Cc: Subject: DO NOT REPLY [Bug 20103] - FileSet horrible performance when dir has huge number of subdirs X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . 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