D808: config: use copy-on-write to improve copy performance

yuja (Yuya Nishihara) phabricator at mercurial-scm.org
Sat Sep 30 13:06:09 EDT 2017


yuja added inline comments.

INLINE COMMENTS

> config.py:180
>                  if self.get(section, name) is not None:
>                      del self._data[section][name]
>                  self._unset.append((section, name))

Perhaps we need preparewrite() here?

REPOSITORY
  rHG Mercurial

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

To: quark, #hg-reviewers, mbthomas, durin42
Cc: yuja, durin42, mbthomas, mercurial-devel


More information about the Mercurial-devel mailing list