Speedup `DirList` by loading dir infos in parallel
Similar to FileList
this MR changes DirList
to load dirs in parallel to speed up reading dir infos from disk for large dirs.
It also strips out reading FileInfos in DirList
and instead changes FileList
to take a dir as input for which it will read files. That way to get the dirs and files of a directory we call both DirList
and FileList
.
Edited by Christopher Schinnerl