Thread (13 messages) 13 messages, 2 authors, 2016-06-15

Re: [PATCH v3 1/3] Eliminate recursion in setting/clearing marks in commit list

flat view

From: Nguyen Thai Ngoc Duy <hidden>
Date: 2016-06-15 22:52:48

2012/1/14 Peter Baumann [off-list ref]:
On Sat, Jan 14, 2012 at 07:19:53PM +0700, Nguyễn Thái Ngọc Duy wrote:
quoted
Recursion in a DAG is generally a bad idea because it could be very
deep. Be defensive and avoid recursion in mark_parents_uninteresting()
and clear_commit_marks().

mark_parents_uninteresting() learns a trick from clear_commit_marks()
to avoid malloc() in (dorminant) single-parent case.
                       ^^^^^^^^^

I think you ment dominant here.
Yes I meant dominant.
-- 
Duy
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help