summaryrefslogtreecommitdiffstats
path: root/.gitignore
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-10-05 11:44:32 -0500
committerDan McGee <dan@archlinux.org>2010-10-11 10:06:03 -0500
commitdff73a2a69de1c55a0ba9fe75a9f7a900e5ed15b (patch)
treec122d89c3dbf1480790173b1debd80d0a428f703 /.gitignore
parentbef19a266bf5d80b68cab02f6a3ccc3fcedbec6d (diff)
downloadpacman-dff73a2a69de1c55a0ba9fe75a9f7a900e5ed15b.tar.xz
Avoid stat call to determine is_directory if possible
On Linux and OS X, we can determine if an entry obtained through a readdir() call is a directory without also having to stat it. This can save a significant number of syscalls. The performance increase isn't dramatic, but it could be on some platforms (e.g. Cygwin) so it shouldn't hurt to use this unconditionally where supported. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions