4 ms·
Why is this faster then find?
by tayo42 9y ago
Why is this faster then find?
- tyingq 9y ago"Concerning fd's speed, the main credit goes to the regex and ignore crates that are also used in ripgrep"
- sharkdp 9y agoYes. For simple searches, the main reason is that 'fd' walks the directory tree in a multithreaded fashion (thanks to the 'ignore' crate).
- tayo42 9y agoShould have been more clear heh. There was a benchmark that didn't use regex and seemed to turn off the ignore files feature. Im not familiar with rust or those crates Im assuming that's what those are there for?