Lurker News

Comments (215) 23 threads

Show all comments

Showing thread 12 of 23

tayo421 reply#
Why is this faster then find?
tyingq2 replies#
"Concerning fd's speed, the main credit goes to the regex and ignore crates that are also used in ripgrep"
sharkdp1 reply#
Yes. For simple searches, the main reason is that 'fd' walks the directory tree in a multithreaded fashion (thanks to the 'ignore' crate).
zestyping1 reply#
Interesting. Why does multithreading make a big difference? I would have assumed that disk seek latency was the speed-limiting factor; what am I missing?

Continue this thread — 1 reply

tayo42#
Should 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?