screens other than 0-9 (was: Re: Windows 2003/IIS 6issues...new and improved ones.)
Kenneth Brody
kenbrody at bestweb.net
Thu May 24 17:21:36 PDT 2007
Quoting Fairlight (Thu, 24 May 2007 17:40:53 -0400):
> Is it just me, or did Kenneth Brody say:
> > Of course, adding a "don't display this screen" flag would require
> > that filePro open/read/close every screen for the file before it
> > could display the list. See my recent note regarding PFDIRFILTER,
> > and that slowdown was caused by a mere stat() call.
> >
> > (And the same applies to a "don't display the output format" flag.)
>
> Well, an env var defaulted to off would be cool in this instance, good
> point.
>
> As for the stat() call, that's likely not what degraded performance.
> You said "on some systems". I'm betting it was when there were enough
> files present to drive them into double redirected inodes. In which
> case it's not actually stat() that's at issue, but the FS structure
> hampering the speed of readdir(), is it not?
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.
Searching my e-mail archives, I see that is was a SCO 5.04 system
with ~1400 filePro files.
--
KenBrody at BestWeb dot net spamtrap: <g8ymh8uf001 at sneakemail.com>
http://www.hvcomputer.com
http://www.fileProPlus.com
More information about the Filepro-list
mailing list