Re: [PATCH] bisect: save heap memory. allocate only the required amount
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Aug 25, 2014, 21:11 UTC
- Message-ID
- <xmqqha10l1g2.fsf@gitster.dls.corp.google.com>
- In-Reply-To
- <20140825193519.GH30953@peff.net>
Jeff King <peff@peff.net> writes:
Show 6 quoted lines
> On Mon, Aug 25, 2014 at 11:26:39AM -0700, Junio C Hamano wrote: > >> Good digging, and I agree that it should use the FLEX_ARRAY for >> consistency. > > I can produce a patch, but I did not want to steal Arjun's thunder.
Hmph, would it have to overlap? I think we can queue Arjun's patch with +1 fix and FLEX_ARRAY thing separately, and they can go in in any order, no?
> Arjun, did my proposal make sense? Do you want to try implementing that?