This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: slow share = slow scripts?


> From: mwoehlke
[snip]
>  Also, why *is* 
> fstat() so inefficient?

Short answer:  because it gets a bunch of information about the file that
isn't necessarily available without hitting (open()ing) the file itself.

> Can anything be done about it?

Short answer: No.
Longer answer: Much has, but the real problem is the very definition of the
function.

-- 
Gary R. Van Sickle


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]