Re: git-revert is a memory hog
- From
Jeff King <peff@peff.net>
- Date
- Jan 29, 2008, 22:57 UTC
- Message-ID
- <20080129225748.GD4586@coredump.intra.peff.net>
- In-Reply-To
- <7v7ihsmeg7.fsf@gitster.siamese.dyndns.org>
On Tue, Jan 29, 2008 at 02:53:12PM -0800, Junio C Hamano wrote:
> If your int is 64-bit, struct diff_score which is 4-int is > 16-byte long. 32m * 16 = 501,801,600. That seems to match your > 450MB observation well.
Yes, except for s/64-bit/32-bit/.
-Peff