diff options
author | Leah Neukirchen <leah@vuxu.org> | 2017-09-17 16:32:01 +0200 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2017-09-17 16:32:01 +0200 |
commit | ab1a5d21b64b625dec383c87bba698dd2b2ec3f6 (patch) | |
tree | e40363c3b21067dcda2940a1882a704b830f05df /NEWS.md | |
parent | 1fea688aa22c88d9a11aabcce8cfafce3b100946 (diff) | |
download | lr-ab1a5d21b64b625dec383c87bba698dd2b2ec3f6.tar.gz lr-ab1a5d21b64b625dec383c87bba698dd2b2ec3f6.tar.xz lr-ab1a5d21b64b625dec383c87bba698dd2b2ec3f6.zip |
detect when stat(2)-ing all files is not needed
For plain file listing, no stat(2) information is needed; inspect the format string and ordering options to ensure this is true. We assume any custom test implies needing to stat for now. recurse detects in opendir/readdir whether to recurse on DT_DIR etc. This massively speeds up listing large trees, making lr -U almost as fast as plain GNU find(1).
Diffstat (limited to 'NEWS.md')
0 files changed, 0 insertions, 0 deletions