Re: [PATCH] Add a new lstat implementation based on Win32 API, and make stat use that implementation too.
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Sep 2, 2007, 17:44 UTC
- Message-ID
- <Pine.LNX.4.64.0709021843270.28586@racer.site>
- In-Reply-To
- <46DAED4F.2080407@trolltech.com>
Hi,
On Sun, 2 Sep 2007, Marius Storm-Olsen wrote:
> The conversion of the FileTime to unix time_t is far more heavy.
Really? If so, we might consider storing FILETIME->dwHightDateTime and ->dwLowDateTime in the index.
But I doubt it. AFAICT _getting_ at the stat data is the expensive thing in Windows, not a 64-bit addition, subtraction and division.
Ciao, Dscho