sparse-read: discard gap below 65K only
authorBoris Feld <boris.feld@octobus.net>
Tue, 10 Jul 2018 02:33:43 +0200
changeset 38633 e3d18de56417
parent 38632 eb8504715071
child 38634 f0ea8b847831
sparse-read: discard gap below 65K only Testing on actual data shows that 65K is more efficient in both time and memory than 256K.
mercurial/configitems.py
--- a/mercurial/configitems.py	Fri Jun 22 17:12:24 2018 +0200
+++ b/mercurial/configitems.py	Tue Jul 10 02:33:43 2018 +0200
@@ -597,7 +597,7 @@
     default=0.50,
 )
 coreconfigitem('experimental', 'sparse-read.min-gap-size',
-    default='256K',
+    default='65K',
 )
 coreconfigitem('experimental', 'treemanifest',
     default=False,