Re: [PATCH, take 1] Linear-time/space rename logic (exact renames only)
- From
Jeff King <peff@peff.net>
- Date
- Oct 22, 2007, 07:21 UTC
- Message-ID
- <20071022072153.GA6205@coredump.intra.peff.net>
- In-Reply-To
- <20071022070750.GM1179MdfPADPa@greensroom.kotnet.org>
On Mon, Oct 22, 2007 at 09:07:50AM +0200, Sven Verdoolaege wrote:
> Aren't you truncating the ptr list after the first entry here? > (While you still need the whole list in free_file_table.)
Yes, good eyes. And because we actually reverse the list, it's not as simple as just sticking the two broken up pieces together again; the original head must end up as the head of the list after they are glued together again, but it is actually the tail of one of the lists.
-Peff