diff options
author | Hadrien <hadrien@psydk.org> | 2019-07-29 08:04:22 +0200 |
---|---|---|
committer | Hadrien <hadrien@psydk.org> | 2019-07-29 15:02:26 +0200 |
commit | e02c5ef48ac50f66d7702e4be19282122acf1b0d (patch) | |
tree | 7c8822d55c31c29ea75fb663074115f9f8d5d21d /modules/mono/glue/rid_glue.h | |
parent | 331a703f5d2b1b47c4b8312971c44ed2faae505e (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: for file
systems that do not support this feature and for links.
Diffstat (limited to 'modules/mono/glue/rid_glue.h')
0 files changed, 0 insertions, 0 deletions