D752: dirstate: create new dirstatemap class

martinvonz (Martin von Zweigbergk) phabricator at mercurial-scm.org
Fri Sep 29 16:03:29 EDT 2017


martinvonz added inline comments.

INLINE COMMENTS

> dirstate.py:1345
> +
> +class dirstatemap(object):
> +    def __init__(self):

I was wondering if all this delegation would be noticeably costly, but I couldn't think of a case where it is (no significant change in "hg files -0 | xargs -0 touch; time ~/hg/hg st", for example)

REPOSITORY
  rHG Mercurial

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

To: durham, #hg-reviewers, indygreg
Cc: martinvonz, indygreg, mercurial-devel


More information about the Mercurial-devel mailing list