From: Junio C Hamano Date: Sun, 21 Feb 2010 19:45:02 GMT Subject: Re: [PATCH] sha1_file: don't malloc the whole compressed result when writing out objects Message-ID: <7vd3zys79d.fsf@alter.siamese.dyndns.org> In-Reply-To: Nicolas Pitre writes: > I think this is worth doing independently of the paranoid mode being > discussed. While I agree it might be worth doing, I can see that you really hate "paranoia". Now your loop is letting deflate() decide how much it happens to like to consume in a given round, it is much trickier to plug the paranoia in without majorly rewriting the loop this patch introduces.