[PATCH] Speed up manifest parsing by 4x

Matt Mackall mpm at selenic.com
Wed Mar 26 08:50:55 CDT 2008


On Wed, 2008-03-26 at 13:32 +0000, Dirkjan Ochtman wrote:
> Bryan O'Sullivan <bos <at> serpentine.com> writes:
> > gmane.comp.version-control.mercurial.devel
> > Attachment (manifest.patch): text/x-patch, 4705 bytes
> > 
> > gmane.comp.version-control.mercurial.devel
> 
> Is there some way we can keep the Python code as an alternative when the
> compiled module is not available? I think it would be nice if at some point we
> could use Mercurial's Python code out of the box without the compiled modules.
> Or is that something we don't want to support at all?

That's a worthy goal. Early on, I dropped Python versions because I had
automatic fallback to them and occassionally discovered myself
scratching my head at huge performance regressions only to realize the C
extensions hadn't been built.

So if we add back Python bits, we need a global "go slow, please" flag
to turn them on, rather than quietly being slow by default.

-- 
Mathematics is the supreme nostalgia of our time.



More information about the Mercurial-devel mailing list