ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: cvs commit: ant/src/testcases/org/apache/tools/ant DirectoryScannerTest.java
Date Tue, 22 Jul 2003 13:38:53 GMT
On Tue, 22 Jul 2003, Antoine Levy-Lambert <antoine@antbuild.com>
wrote:

> I am afraid that if we use it we are going to lose the benefit of
> the optimization,

Yes, that's what I see while playing with a solution as well.  An
alternative that I'm currently testing is a combination of
getCanonicalPath with findFile - only scan the directories if the
canonical path is different from the pattern.

I'll send you the code when I'm ready and you can run your benchmarks.

Stefan

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


Mime
View raw message