Mercurial > hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
38631:9ef10437bb88 | 38632:eb8504715071 |
---|---|
592 ) | 592 ) |
593 coreconfigitem('experimental', 'sparse-read', | 593 coreconfigitem('experimental', 'sparse-read', |
594 default=False, | 594 default=False, |
595 ) | 595 ) |
596 coreconfigitem('experimental', 'sparse-read.density-threshold', | 596 coreconfigitem('experimental', 'sparse-read.density-threshold', |
597 default=0.25, | 597 default=0.50, |
598 ) | 598 ) |
599 coreconfigitem('experimental', 'sparse-read.min-gap-size', | 599 coreconfigitem('experimental', 'sparse-read.min-gap-size', |
600 default='256K', | 600 default='256K', |
601 ) | 601 ) |
602 coreconfigitem('experimental', 'treemanifest', | 602 coreconfigitem('experimental', 'treemanifest', |