Open cgzones opened 2 years ago
Can you rebase ? Looks good.
thanks
I need to test this on Buster
While rerunning the benchmark I did not notice a significant time saving anymore. Maybe the simplification of myglob()
made this obsolete.
It looks like a case of too early optimisation on both sides. It was a big mistake on my side to optimize for a match, I should have instead optimized for a non match (what happens 99% of the time).
The most expensive operation of cruft is the filtering of the existing paths with the configured filters and excludes. Perform that task in parallel by using C++17 parallel algorithms. One downside is, since the standard library does not implement this functionality itself, this requires linking against tbb (Threading Building Blocks).
Sequenced:
Parallel: