When doing a wildcard search in a sub-folder:
ffind( "directory\\file_42*", &fs_info ) ;
the time it takes to find a hit takes considerably longer than when first changing the current directory to the folder ffind() shall browse:
fchdir( "directory" ) ;
ffind( "file_42*", &fs_info ) ;
When ffind() looks in a sub-folder as in the first example, one can see in the Event Recorder debug output of the FileSystem library a "PathProcessing" for each entry in the folder looked at, but always with the same path. It seems, the library enters and leaves the sub-folder for every checked file entry in there. So, could there be some room for optimization?
When doing a wildcard search in a sub-folder:
the time it takes to find a hit takes considerably longer than when first changing the current directory to the folder ffind() shall browse:
When ffind() looks in a sub-folder as in the first example, one can see in the Event Recorder debug output of the FileSystem library a "PathProcessing" for each entry in the folder looked at, but always with the same path. It seems, the library enters and leaves the sub-folder for every checked file entry in there. So, could there be some room for optimization?