5 ms·
find or indeed, the Rust-based fd[1] which is infinitesimally faster. [1]https://github.com/sharkdp/fd https://github.com/sharkdp/fd
by traceroute66 5y ago
find or indeed, the Rust-based fd[1] which is infinitesimally faster.
[1]https://github.com/sharkdp/fd https://github.com/sharkdp/fd
- vidarh 5y agoIf you're listing just the filenames, the things that makes fd fast (the parallelised directory traversal when you do something that requires stat calls or similar) are irrelevant, as the getdents() calls are going to be more affected by your buffer size. So for the limited subset of tasks where you're ok with using a tool that might not be installed and need options that requires stat calls and the directories may be large enough, it might make a difference.
- mellavora 5y agoinfinitesimally https://en.wikipedia.org/wiki/Infinitesimal https://en.wikipedia.org/wiki/Infinitesimal "In mathematics, an infinitesimal or infinitesimal number is a quantity that is closer to zero than any standard real number, but that is not zero." I'll blame this one on auto-correct.
- CRConrad 5y agos/simal// There, FTFY.