in reply to Performant Path Iteration

Could you perhaps write a code to create the sample dataset (the directory tree) so we all can benchmark the recurse code too?

Replies are listed 'Best First'.
Re^2: Performant Path Iteration
by learnedbyerror (Monk) on Apr 23, 2019 at 04:02 UTC

    I'll be happy to do so. It will probably have to wait for the week end though.

    lbe

    UPDATE: You can run it against any directory with a bit of heft against it and will likely see similar relative performance as long as the number of files is much greater than the number number of directory nodes