Mercurial > public > mercurial-scm > hg
diff mercurial/configitems.py @ 38632:eb8504715071
sparse-read: target density of 50% instead of 25%
The target density value is wrong. The default target chain span is
4*text-length. However, the target max chain payload is 2*text-length. So
default target density should be 50% (2/4) not 25% (1/4).
author | Paul Morelle <paul.morelle@octobus.net> |
---|---|
date | Fri, 22 Jun 2018 17:12:24 +0200 |
parents | 44f5acfb9ad2 |
children | e3d18de56417 |
line wrap: on
line diff
--- a/mercurial/configitems.py Fri Jul 06 00:39:21 2018 +0530 +++ b/mercurial/configitems.py Fri Jun 22 17:12:24 2018 +0200 @@ -594,7 +594,7 @@ default=False, ) coreconfigitem('experimental', 'sparse-read.density-threshold', - default=0.25, + default=0.50, ) coreconfigitem('experimental', 'sparse-read.min-gap-size', default='256K',