diff mercurial/policy.py @ 45131:61e7464477ac

phases: sparsify phaseroots and phasesets As final step of dealing with the holes in the phase numbers, make phaseroots and phasesets both dictionaries indexed by the phase number. Further adjust the interface of the C module by pushing the node to revision mapping down as it is cheaper on the C side to deal with revision numbers. Overall, the patch series improves a no-change "hg up" for my NetBSD test repository from 4.7s to 1.3s. Differential Revision: https://phab.mercurial-scm.org/D8698
author Joerg Sonnenberger <joerg@bec.de>
date Wed, 08 Jul 2020 00:36:36 +0200
parents b56de57c45ce
children 12450fbea288
line wrap: on
line diff
--- a/mercurial/policy.py	Tue Jul 07 14:01:12 2020 +0530
+++ b/mercurial/policy.py	Wed Jul 08 00:36:36 2020 +0200
@@ -80,7 +80,7 @@
     ('cext', 'bdiff'): 3,
     ('cext', 'mpatch'): 1,
     ('cext', 'osutil'): 4,
-    ('cext', 'parsers'): 16,
+    ('cext', 'parsers'): 17,
 }
 
 # map import request to other package or module