From: Jeff King Date: Sat, 10 Mar 2007 19:23:04 GMT Subject: Re: [PATCH 3/3] fast-import: improve efficiency of tree_content_set Message-ID: <20070310192304.GB3416@coredump.intra.peff.net> In-Reply-To: <20070310192131.GB3875@coredump.intra.peff.net> On Sat, Mar 10, 2007 at 02:21:31PM -0500, Jeff King wrote: > This patch keeps the tree entries of a tree_content in > order, sorted by entry name. The lookup in find_tree_entry > now performs a binary search instead of a linear search. I should note that this patch doesn't handle removing entries from tree_content structs; I will work up a patch for that momentarily. -Peff