From: Junio C Hamano Date: Tue, 22 Nov 2005 20:41:56 GMT Subject: Re: [PATCH] speedup allocation in pack-redundant.c Message-ID: <7vek58ct4b.fsf@assigned-by-dhcp.cox.net> In-Reply-To: <81b0412b0511220656l528436b1xea80ee18965e4dda@mail.gmail.com> Alex Riesen writes: > Subject: [PATCH] speedup allocation in pack-redundant.c > > Reuse discarded nodes of llists > > Signed-off-by: Alex Riesen I think making allocation/deallocation to the central place is a good cleanup, but I am not sure about the free-nodes reusing. Does this make difference in real life? If so, it might be worth doing the slab-like allocation, since free-nodes are very small structure and malloc overhead is not ignorable there.