[PATCH resend] revlog: switch to a C version of headrevs

Bryan O'Sullivan bos at serpentine.com
Fri May 18 23:42:17 CDT 2012


On Fri, May 18, 2012 at 2:03 PM, Matt Mackall <mpm at selenic.com> wrote:

> > The C implementation is more than 100 times faster than the Python
> > version (which is still available as a fallback).
>
> Is that with or without the cache?


When the tags cache is stale.


> I'd really much prefer when you do

 these things if you'd send the uncached version first so it's easier to
> read and it can be directly compared with the existing code, then follow
> up with the caching code.
>

What? The performance of headrevs is at issue when the contents of
.hg/cache/tags is stale. I didn't develop the tags cache; it's been in
Mercurial for ages. And there's no other patch related to this one, except
one that changes the behaviour of contrib/perf.py that I've already sent
several times.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20120518/7df2bd7c/attachment.html>


More information about the Mercurial-devel mailing list