Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH 4/4] pack-objects: rewrite add_descendants_to_write_order() iteratively

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:52:20

Dan McGee [off-list ref] 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 <redacted>
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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help