On Tue, Feb 13, 2001 at 02:54:01PM -0500, DJ Delorie wrote: >> But it does nothing at all for the "usual case" I'm trying to >> optimize, which is Make stat()ing a file but never reading it. > >It does, because stat() reads the file twice, once to see if it's a >symlink, and once to see if the executable bit needs to be set. If it is actually doing this, then that's a bug. I went to some effort a year or so ago to do away with the second read. cgf -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple
- Re: Optimizing away "ReadFile" ca... jik-cygwin
- Re: Optimizing away "ReadFile&quo... Larry Hall (RFK Partners, Inc)
- Re: Optimizing away "ReadFile... jik-cygwin
- Re: Optimizing away "Read... Larry Hall (RFK Partners, Inc)
- Re: Optimizing away "ReadFile&quo... DJ Delorie
- Re: Optimizing away "ReadFile... jik-cygwin
- Re: Optimizing away "Read... DJ Delorie
- Re: Optimizing away "... Jonathan Kamens
- Re: Optimizing away &... DJ Delorie
- Re: Optimizing away &... Larry Hall (RFK Partners, Inc)
- Re: Optimizing away "... Christopher Faylor
- Re: Optimizing away &... DJ Delorie
- Re: Optimizing away &... Egor Duda
- Re: Optimizing away &... Robert Collins
- Re: Optimizing away &... Warren Young
- Re: Optimizing away &... Larry Hall (RFK Partners, Inc)
- Re: Optimizing away &... Charles S. Wilson
- Re: Optimizing away &... Warren Young
- Re: Optimizing away &... Larry Hall (RFK Partners, Inc)
- Re: Optimizing away &... Christopher Faylor
- Re: Optimizing away &... Christopher Faylor