Mercurial > hg
comparison tests/test-clone-cgi.t @ 32792:4374e88e808c
checkheads: use a "lazyancestors" object for allfuturecommon
Instead of walking all ancestors to compute the full set we now check membership
lazily. This massively speed.
On a million-ish revision repository, this remove 14 seconds from the push logic,
making the checkheads function disappear from profile.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Mon, 05 Jun 2017 13:44:15 +0100 |
parents | 7a9cbb315d84 |
children | 75be14993fda |
comparison
equal
deleted
inserted
replaced
32791:1cb14923dee9 | 32792:4374e88e808c |
---|