[pacman-dev] [GIT] The official pacman repository branch, master, updated. v3.4.1-88-g46ffd34

Allan McRae allan at archlinux.org
Mon Oct 11 18:27:20 EDT 2010


On 12/10/10 01:33, Dan McGee wrote:

> commit dff73a2a69de1c55a0ba9fe75a9f7a900e5ed15b
> Author: Dan McGee<dan at archlinux.org>
> Date:   Tue Oct 5 11:44:32 2010 -0500
>
>      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 at archlinux.org>
>

I thought we were dropping that one as it actually made things slowed?

Allan


More information about the pacman-dev mailing list