D530: obsolete: move merge logic on the smaller object

martinvonz (Martin von Zweigbergk) phabricator at mercurial-scm.org
Mon Aug 28 17:10:51 EDT 2017


martinvonz added inline comments.

INLINE COMMENTS

> obsutil.py:568
> +                for cand in candidate:
> +                    for seensuccs in seen:
> +                        if cand.canmerge(seensuccs):

How long can "seen" get? Short enough that we don't care to make it a set?

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D530

To: lothiraldan, #hg-reviewers
Cc: martinvonz, mercurial-devel


More information about the Mercurial-devel mailing list