[PATCH 3 of 3] use per-directory clustered stat calls even in cases where known tree is walked

Petr Kodl petrkodl at gmail.com
Tue Oct 14 15:45:14 CDT 2008


It is off on non-Win32 by default - I did not have a chance to do any Linux
timing yet so the code leaves Unix alone for now.

pk

On Tue, Oct 14, 2008 at 2:43 PM, Matt Mackall <mpm at selenic.com> wrote:

> On Tue, 2008-10-14 at 17:34 +0200, Benoit Boissinot wrote:
> > On Mon, Oct 6, 2008 at 12:59 PM, Petr Kodl <petrkodl at gmail.com> wrote:
> > >>
> > >> Wouldn't it be cleaner to call normpath on those filenames ?
> > >
> > > normcase is probably what you want in this case. I submitted a patch
> based
> > > on Benoit's suggestions a while ago, but here it is again - just in
> case .
> > > It is reasonably clean except for one thing - the error handling of
> errors
> > > coming from os.listdir - result of some incompatibilities in Python
> versions
> >
> > Matt, do you have any objection to this patch ? conceptual or anything
> else ?
> >
> > It really helps windows for big trees.
>
> I'm a little worried that it's going to make things worse on Unix when
> doing diff with widely-scattered changes. But only a little worried.
>
> --
> Mathematics is the supreme nostalgia of our time.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://selenic.com/pipermail/mercurial-devel/attachments/20081014/71e5d87d/attachment.htm 


More information about the Mercurial-devel mailing list