[PATCH 3 of 6] revlog: teach revlog to construct a revision from parentdeltas

Matt Mackall mpm at selenic.com
Mon Aug 9 14:48:13 CDT 2010


On Mon, 2010-08-09 at 21:39 +0530, in3xes at gmail.com wrote:
> # HG changeset patch
> # User Pradeepkumar Gayam <in3xes at gmail.com>
> # Date 1281366447 -19800
> # Node ID 9edb2bea4b760990f97a8d1bb6e7bea65f0d4858
> # Parent  9536451a578d75dae45bbefb197d48ef6d06d64c
> revlog: teach revlog to construct a revision from parentdeltas

Ok, this version is still 7.3% slower than stock hg. That's due to the
amount of time that gets spent in looking for the intersection with the
cache.

Imagine that deltachain had a stop argument - you could tell it to stop
searching if it ever hit the cached revision. Especially in the verify
case, this would cut the search short and then you'd never have to
walk/build the bulk of the chain that the cache code later truncates.

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial-devel mailing list