On Fri, 2004-10-01 at 23:02, Joshua Tauberer wrote: > Then I thought that the scan for changes might be faster if Mono did not > have to iterate through the contents of directories. It has to do this > if there's a wildcard in the mask, but if the mask is just a filename, > as is (always?) the case for caching, checking whether that file exists > directly might be faster. So, I have it always check with File.Exists > for the file, and only if that fails does it use > Directory.GetFileSystemEntries. If there are wildcards, File.Exists > should, I think, always return false, so that's fine, but I haven't > tested it.
Yes, we should do this when there are no wildcards. Can you file a bug report? (no test case needed, just a reminder ;-). -Gonzalo _______________________________________________ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
