[PATCH] Speed up manifest parsing by 4x

Steve Borho steve at borho.org
Wed Mar 26 12:17:30 CDT 2008


On Wed, 2008-03-26 at 09:47 -0700, Bryan O'Sullivan wrote:
> Bryan O'Sullivan wrote:
> 
> >> We should probably do our own unhexing. Then we don't have to construct
> >> a separate Python string object just to then convert it to binary.
> > 
> > That will probably help performance, yes.
> 
> FWIW, it almost doubled performance, making the new manifest parser
> almost 8x as fast as the pure Python version.

Which commands does that help the most?  log, annotate?

-- 
Steve Borho (steve at borho.org)
http://www.borho.org/~steve/steve.asc
Key fingerprint = 2D08 E7CF B624 624C DE1F  E2E4 B0C2 5292 F2C6 2C8C



More information about the Mercurial-devel mailing list