D4351: match: improve includematcher.visitchildrenset to be much faster and cached

durin42 (Augie Fackler) phabricator at mercurial-scm.org
Wed Aug 22 12:39:11 EDT 2018


durin42 added inline comments.

INLINE COMMENTS

> match.py:520
> +        # children instead of just a count of them.
> +        class dirchildren(object):
> +            def __init__(self, m):

could we extract this class to module-level and pass matcherself as a ctor parameter instead?

REPOSITORY
  rHG Mercurial

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

To: spectral, #hg-reviewers
Cc: durin42, mercurial-devel


More information about the Mercurial-devel mailing list