[PATCH] Large clone chewing CPU

Eric M. Hopper hopper at omnifarious.org
Sun Sep 4 01:47:29 CDT 2005


On Thu, 2005-09-01 at 14:47 -0700, Eric Hopper wrote:
> Lastly, it's definitely possible for me to adapt my changes into a more
> general buffering class that can also easily deal with filtering the
> data through zlib like the most recent code in your repository does.

I tried several ways to make the appendable string class work well for
this situation, and all the methods I tried were somewhere around 1/10th
than treating the problem as a buffering problem instead.

So, here is another version of my buffering patches designed to be a bit
more general.  I originally made them to a branch off the 0.6c tag, but
I have merged them in with the tip of the main repository.  These
changes have also received much better testing than my first attempt.

Bryan's repository contains some code that complicates matters a little
by running things through a zlib decompressor.  I should be able to
merge that in as well, but I want to do so carefully.

Have fun (if at all possible),
-- 
The best we can hope for concerning the people at large is that they
be properly armed.  -- Alexander Hamilton
-- 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://www.selenic.com/pipermail/mercurial/attachments/20050903/530a82c1/attachment.pgp


More information about the Mercurial mailing list