Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/localrepo.py @ 41296:d82dd55024e7 stable
mmap: backed out changeset 875d2af8cb4e
There have been concrete and theoretical issues raised, this will need more
work during the next cycle.
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Fri, 18 Jan 2019 16:03:37 +0100 |
parents | 44a51c1c8e17 |
children | 261d37b94d31 092c5d05ba01 |
comparison
equal
deleted
inserted
replaced
41295:bf4a078b3f88 | 41296:d82dd55024e7 |
---|---|
756 | 756 |
757 chainspan = ui.configbytes(b'experimental', b'maxdeltachainspan') | 757 chainspan = ui.configbytes(b'experimental', b'maxdeltachainspan') |
758 if 0 <= chainspan: | 758 if 0 <= chainspan: |
759 options[b'maxdeltachainspan'] = chainspan | 759 options[b'maxdeltachainspan'] = chainspan |
760 | 760 |
761 mmapindexthreshold = ui.configbytes(b'storage', b'mmap-threshold') | 761 mmapindexthreshold = ui.configbytes(b'experimental', |
762 b'mmapindexthreshold') | |
762 if mmapindexthreshold is not None: | 763 if mmapindexthreshold is not None: |
763 options[b'mmapindexthreshold'] = mmapindexthreshold | 764 options[b'mmapindexthreshold'] = mmapindexthreshold |
764 | 765 |
765 withsparseread = ui.configbool(b'experimental', b'sparse-read') | 766 withsparseread = ui.configbool(b'experimental', b'sparse-read') |
766 srdensitythres = float(ui.config(b'experimental', | 767 srdensitythres = float(ui.config(b'experimental', |