diff options
author | Hadrien <hadrien@psydk.org> | 2019-07-17 20:34:37 +0200 |
---|---|---|
committer | Hadrien <hadrien@psydk.org> | 2019-07-17 20:34:37 +0200 |
commit | 1898a559a94d803ba3ead9127deb65c5a61aefaa (patch) | |
tree | f7e7d65c0c29f77d631c4ff70b6c85d09acc22c6 /modules/gridmap | |
parent | d087a9e3283528792634de84b55a607d9b9b5137 (diff) |
Optimize DirAccessUnix::get_next() for some file systems
On some file systems, like ext4 on Linux, readdir() gives enough
information to determine the entry type in order to avoid doing
a stat() system call.
Use this information and call stat() only if necessary.
Diffstat (limited to 'modules/gridmap')
0 files changed, 0 insertions, 0 deletions