Mercurial > public > mercurial-scm > hg-stable
diff mercurial/configitems.py @ 47395:e6292eb33384
revlog: store sidedata in their own file
This makes sidedata manipulation simpler and results in more compact data when
traversing either data or sidedata.
Differential Revision: https://phab.mercurial-scm.org/D10787
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Fri, 28 May 2021 23:41:17 +0200 |
parents | 75e1104f23a2 |
children | 2813d406b036 de2e04fe4897 |
line wrap: on
line diff
--- a/mercurial/configitems.py Fri May 28 23:41:12 2021 +0200 +++ b/mercurial/configitems.py Fri May 28 23:41:17 2021 +0200 @@ -1162,13 +1162,13 @@ # rewriting sidedata. # * introduce a proper solution to reduce the number of filelog related files. # * use caching for reading sidedata (similar to what we do for data). +# * no longer set offset=0 if sidedata_size=0 (simplify cutoff computation). # * Improvement to consider # - avoid compression header in chunk using the default compression? # - forbid "inline" compression mode entirely? # - split the data offset and flag field (the 2 bytes save are mostly trouble) # - keep track of uncompressed -chunk- size (to preallocate memory better) # - keep track of chain base or size (probably not that useful anymore) -# - store data and sidedata in different files coreconfigitem( b'experimental', b'revlogv2',