summaryrefslogtreecommitdiff
path: root/thirdparty/nanosvg/nanosvgrast.h
diff options
context:
space:
mode:
authorHadrien <hadrien@psydk.org>2019-07-29 08:04:22 +0200
committerHadrien <hadrien@psydk.org>2019-07-29 15:02:26 +0200
commite02c5ef48ac50f66d7702e4be19282122acf1b0d (patch)
tree7c8822d55c31c29ea75fb663074115f9f8d5d21d /thirdparty/nanosvg/nanosvgrast.h
parent331a703f5d2b1b47c4b8312971c44ed2faae505e (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 'thirdparty/nanosvg/nanosvgrast.h')
0 files changed, 0 insertions, 0 deletions