[PATCH] Speed up manifest parsing by 4x

Eric M. Hopper hopper at omnifarious.org
Wed Mar 26 12:42:24 CDT 2008


On Wed, 2008-03-26 at 10:16 -0700, Bryan O'Sullivan wrote:
> Adrian Buehlmann wrote:
> 
> > Tracking initializations of stack based pointers that are not initialized
> > right at their definition is what makes *me* scratching my head when reading
> > C/C++ code :-)
> 
> That's nothing compared to trying to follow the rules for handling
> reference counts in the Python/C API.  What a nightmare.

That's why I tend to use C++.  :-)  Destructors and constructors are
very useful.  Though it doesn't seem to me that C++ is quite appropriate
somehow for Mercurial.

-- 
A word is nothing more or less than the series of historical
connotations given to it. That's HOW we derive meaning, and to claim
that there is an arbitrary meaning of words above and beyond the way
people use them is a blatant misunderstanding of the nature of language.
-- Anonymous blogger
-- Eric Hopper (hopper at omnifarious.org http://www.omnifarious.org/~hopper)--
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 185 bytes
Desc: This is a digitally signed message part
Url : http://selenic.com/pipermail/mercurial-devel/attachments/20080326/8b0a406f/attachment.pgp 


More information about the Mercurial-devel mailing list