comparison contrib/undumprevlog @ 23332:194508240dc9

ancestor.missingancestors: don't discard from basesvisit We only actually care about whether revsvisit is empty, so we can let basesvisit grow to arbitrary size. It turns out that this actually helps performance. For a large repo with hundreds of thousands of commits, hg perfrevset 'only(0, tip)' (basically the worst case, involving a full DAG traversal) goes from 1.63 seconds to 1.50. hg perfrevset 'only(tip, 0)' remains unchanged at 1.98 seconds.
author Siddharth Agarwal <sid0@fb.com>
date Fri, 14 Nov 2014 11:33:52 -0800
parents 5bd1f6572db0
children 4f76c0c490b3
comparison
equal deleted inserted replaced
23331:3b1b8f25443e 23332:194508240dc9