From: Junio C Hamano Date: Thu, 27 Oct 2011 22:13:49 GMT Subject: Re: [PATCH 4/4] pack-objects: rewrite add_descendants_to_write_order() iteratively Message-ID: <7vty6uxeua.fsf@alter.siamese.dyndns.org> In-Reply-To: <1318915284-6361-4-git-send-email-dpmcgee@gmail.com> Dan McGee writes: > This removes the need to call this function recursively, shinking the > code size slightly and netting a small performance increase. > > Signed-off-by: Dan McGee Tricky. As long as this is done after compute_write_order() populates delta_sibling vs delta link in a consistent way, the new logic should produce exactly the same result as the original code. Thanks.