Dale, thanks for the explanation. For the record though, there are a number of cases where we can know that there is no point searching the children of a directory. We already have optimizations in place for some obvious ones (for example -maxdepth) but I'd certainly welcome patches for additional cases offering substantial performance improvements.
Thanks, James.