make-w32
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Switching from CVS to GIT


From: Johannes Sixt
Subject: Re: Switching from CVS to GIT
Date: Tue, 16 Oct 2007 08:42:53 +0200
User-agent: Thunderbird 2.0.0.6 (Windows/20070728)

Eli Zaretskii schrieb:
If that's the issue, then it's not a good idea to call `stat' and
`readdir' on Windows at all.  `stat' is a single system call on Posix
systems, while on Windows it usually needs to go out of its way
calling half a dozen system services to gather the `struct stat' info.

Thanks to Marius Storm-Olsen we already have a stat replacement that's twice as fast as msvcrt's stat. I calls only one API function (GetFileAttributesEx, but of course I don't know what's going on under its hood), because we need only a small part of struct stat filled in correctly.

-- Hannes





reply via email to

[Prev in Thread] Current Thread [Next in Thread]