Currently, glob pattern matching is quite a bit slower than the regex matching that dust provides - it takes almost 3 times as long, as the benchmarks show. There must be a way to improve this performance - the first thing that comes to mind is building the GlobMatcher once rather than on every call to handle_directory().
Currently, glob pattern matching is quite a bit slower than the regex matching that dust provides - it takes almost 3 times as long, as the benchmarks show. There must be a way to improve this performance - the first thing that comes to mind is building the
GlobMatcher
once rather than on every call tohandle_directory()
.