screens other than 0-9 (was: Re: Windows 2003/IIS 6issues...new and improved ones.)

Jay R. Ashworth jra at baylink.com
Thu May 24 17:48:06 PDT 2007


On Thu, May 24, 2007 at 08:21:36PM -0400, Kenneth Brody wrote:
> No, it was stat(), plain and simple.  Call stat() and check S_ISDIR(),
> and it took 20 seconds to complete the reading of the directory.  If
> you don't call stat(), and it was almost instantaneous.

To my annoyance I can't source it, but I'm pretty sure that's because
stat is *required* to smack the disk on each call, bypassing the cache.

http://www.opengroup.org/onlinepubs/000095399/functions/stat.html

is just one of many places that doesn't actually say so...

Cheers,
-- jra
-- 
Jay R. Ashworth                                                jra at baylink.com
Designer                          Baylink                             RFC 2100
Ashworth & Associates        The Things I Think                        '87 e24
St Petersburg FL USA      http://baylink.pitas.com             +1 727 647 1274


More information about the Filepro-list mailing list