From: Johannes Schindelin Date: Thu, 29 Jun 2006 13:16:01 GMT Subject: Re: CFT: merge-recursive in C (updated) Message-ID: In-Reply-To: <20060627223249.GA8177@steel.home> Hi, On Wed, 28 Jun 2006, Alex Riesen wrote: > > > Path list optimization should be next (and I'll be glad if someone does > > > this before me). > > > > See below. > > > > Aah, thanks. Merged, tried, tested, left in patch. > The reallocs can cause some undesirable heap fragmentation, don't you > think? I do not care too deeply about the heap fragmentation there: it is just 4 bytes per file name. Besides, I chose an increment of 32 (probably I should use alloc_nr() instead). > I tried to replace that code completely with a call to git-merge-base > (it does not happen too often). So far it passed all tests. > > > I have some commits in a private branch to split out get_merge_bases() > > from merge-base.c, so I'll try that next. > > Thanks, that'd be nice. Will reply with two patches. > > BTW, before actually finishing this, we might want to do away with > > capitalizedFunctionNames and 4-space indent. > > 4-space indent should be gone by now, the names pending (they were > important in initial debugging after conversion). Okay. Ciao, Dscho