r/programming • • Sep 14 '26

Small Programming Tricks

https://will-keleher.com/posts/small-programming-tricks-matter/
179 Upvotes

27 comments sorted by

View all comments

Show parent comment

1

u/buerkle Sep 15 '26

https://github.com/sharkdp/fd much faster than find

2

u/Skaarj Sep 15 '26

https://github.com/sharkdp/fd much faster than find

I dont remember that ever being relevant. The speed of find is a rounding error. The actual operation on files that you trigger with find take time.

1

u/buerkle Sep 15 '26

I find it relevant all the time. fd in general is much faster plus by default it ignores files in .gitignore. But even including those files, on a moderately sized repo find was 27s vs fd 3s (0.143s when using its default of ignoring .gitignore files), on a M3 pro.