Mercurial > hg
comparison tests/test-encoding-align.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 | 46ba2cdda476 |
children | fce4ed2912bb |
comparison
equal
deleted
inserted
replaced
32791:1cb14923dee9 | 32792:4374e88e808c |
---|