For the **/* benchmark, there doesn't need to be an exclude, but it looks like one is passed to fdir. If it is just left undefined, it looks like it performs about 10% faster because it never has to invoke that function. Throughput on github actions goes from ~40 ops/s -> ~45 ops/s
I should note that tinyglobby is the fastest glob library with or without this improvement 😄
For the
**/*benchmark, there doesn't need to be anexclude, but it looks like one is passed tofdir. If it is just leftundefined, it looks like it performs about 10% faster because it never has to invoke that function. Throughput on github actions goes from ~40 ops/s -> ~45 ops/sI should note that
tinyglobbyis the fastest glob library with or without this improvement 😄