xrevlog: experimental reimplementation of revlog in C

Matt Mackall mpm at selenic.com
Tue Nov 16 13:18:46 CST 2010


On Tue, 2010-11-16 at 10:08 -0500, Greg Ward wrote:
> >> Python/Mercurial, medium changelog (12k revs):
> >>   openclose     min   1496.8 ms
> >>   readindex     min   6146.1 ms
> >>   readtip       min   1521.0 ms
> >>   readdata      min   3941.5 ms
> >
> > That's weird. readdata implies reading the whole index, so why is it
> > faster?
> 
> Because I don't read the whole index.

No, the two Python numbers don't make sense. readdata should always be
greater than readindex because readdata reads the index.

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial-devel mailing list