relnotes: mention improved memory use and underlaying API changes
authorJoerg Sonnenberger <joerg@bec.de>
Thu, 29 Oct 2020 13:29:05 +0100
changeset 45795 c4ab93849383
parent 45794 330c258fe7ca
child 45796 e9555305c5c6
relnotes: mention improved memory use and underlaying API changes Differential Revision: https://phab.mercurial-scm.org/D9258
relnotes/next
--- a/relnotes/next	Thu Oct 29 00:17:12 2020 -0700
+++ b/relnotes/next	Thu Oct 29 13:29:05 2020 +0100
@@ -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.