Patchwork D9258: relnotes: mention improved memory use and underlaying API changes

login
register
mail settings
Submitter phabricator
Date Oct. 29, 2020, 12:29 p.m.
Message ID <differential-rev-PHID-DREV-jajkymkpnq3jiyk35647-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/47529/
State Superseded
Headers show

Comments

phabricator - Oct. 29, 2020, 12:29 p.m.
joerg.sonnenberger created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.

REPOSITORY
  rHG Mercurial

BRANCH
  default

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

AFFECTED FILES
  relnotes/next

CHANGE DETAILS




To: joerg.sonnenberger, #hg-reviewers
Cc: mercurial-patches, mercurial-devel

Patch

diff --git a/relnotes/next b/relnotes/next
--- a/relnotes/next
+++ b/relnotes/next
@@ -8,6 +8,9 @@ 
  * New revset predicate `diffcontains(pattern)` for filtering revisions
    in the same way as `hg grep --diff pattern`.
 
+ * The memory footprint per changeset and per file during pull/unbundle
+   operations has been significantly reduced.
+
 
 == New Experimental Features ==
 
@@ -27,3 +30,15 @@ 
    the higher-level functions available in the same module cover your
    use cases.
 
+ * `phases.registernew` now takes a set of revisions instead of a list
+   of nodes. `phases.advanceboundary` takes an optional set of revisions
+   in addition to the list of nodes. The corresponeding members of the
+   `phasecache` class follow this change.
+
+ * The `addgroup` member of `revlog` classes no longer keeps a list of
+   all found nodes. It now returns True iff a node was found in the group.
+   An optional callback for duplicated nodes can be used by callers to keep
+   track of all nodes themselve.
+
+ * The `_chaininfocache` of `revlog` classes has been changed from a dict
+   to a LRU cache.