Remove duplicated `lstat` syscall
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Removes a unnecessary `lstat` syscall by calling `.metadata()` only once. This makes `--type executable` searches about 15% faster.
authored by sharkdp · committed by sharkdp · parent 6fb5004 · Browse files · 1 file+4 added−3 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
1 file+4 added−3 removed
- other:+4 added−3 removed