>>>> "DO" == Darryl Okahata
<darrylo(a)sr.hp.com> writes:
DO> A long while back, sperber(a)informatik.uni-tuebingen.de (Michael Sperber
DO> [Mr. Preprocessor]) wrote:
> > I don't know about NT, but stat() is VERY expensive
under Win95.
> > If I recall correctly, a call to stat() takes on the order of
> > milliseconds on a non-MMX P166 (and I think over 10ms), under Win95
> > OSR2. Why, I don't know (this is real/elapsed, and not CPU, time). By
> > bypassing stat(), and using the native Win32 system calls, my dired-in-C
> > changes were able to get a significant performance improvement.
>
> That's why I asked if there isn't a way to compute file-directory-p
> without doing a full stat under Win32. Don't DOS directories store
> that information in the directory entry?
DO> There is a way to do file-directory-p without doing a stat() under
DO> Win32, but I don't know if it will save any time. (Actually, I added
DO> this to my local copy of XEmacs, but I really haven't done any timings.
DO> I certainly haven't noticed any speed difference. I'll try to do some
DO> timings tonight.)
Just FYI: The patches that got in recently put the stat count under
that of 20.3, I believe. In the vicinity anyway---Hrovje did the count.
1998-05-17 Michael Sperber [Mr. Preprocessor]
<sperber(a)informatik.uni-tuebingen.de>
* packages.el (packages-no-package-hierarchy-regexp): Introduced
and used following the interface change of
`paths-find-recursive-path'.
* find-paths.el (paths-find-recursive-path): Exclusion is now by a
regexp instead of a list of base names.
(paths-version-control-filename-regexp):
(paths-lisp-filename-regexp): (paths-no-lisp-directory-regexp):
Introduced and used following the interface change of
`paths-find-recursive-path'.
--
Cheers =8-} Chipsy
Friede, Völkerverständigung und überhaupt blabla