Thread (37 messages) flat view 37 messages, 10 authors, 2016-06-15

Re: [PATCH] Add a new lstat implementation based on Win32 API, and make stat use that implementation too.

From: David Kastrup <hidden>
Date: 2016-06-15 22:43:32

Johannes Schindelin [off-list ref] writes:
Hi,

On Sun, 2 Sep 2007, Marius Storm-Olsen wrote:
quoted
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.
64-bit division conceivably could be somewhat expensive, but it sounds
like it should not be much compared to the cost of a system call.
What is the code doing that division?

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help