The optimization only helps if you have empty directories (i.e. directories with no files except . and ..)Erm, actually the optimisation is used to detect directories that contain no subdirectories (rather than that are empty directories). That way, for leaf node directories, you don't have to stat() every directory entry looking for possible subdirectories.
Dave.
In reply to Re^2: File::Find won't iterate through CIFS share withouth "dont_use_nlink"
by dave_the_m
in thread File::Find won't iterate through CIFS share withouth "dont_use_nlink"
by reinaldo.gomes
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |