Open joebonrichie opened 5 months ago
I see there are a couple of alternatives which have been maintained more recently:
https://github.com/saracen/walker https://github.com/charlievieth/fastwalk
Will report back
@joebonrichie Appears to need a rebase. ^^'
Use a parallelized version to fileWalk to get directory sizes. Additionally, use the parallelized version of fileWalk to delete files, then call RemoveAll() on the remaining empty directories.
Resolves #89.
Benchmarks solbuild dc -a (720.1 MiB)
Before: 0m0.174s | Now: 0m0.081s (uncached)
solbuild dc -s (41.8 GiB)
Before : 0m15.849s (uncached) | 0m6.241s (cached) After : 0m2.134s (uncached) | 0m0.585s (cached)