Mercurial > hg
comparison mercurial/configitems.py @ 47254:eac3591abbf4
revlog: add a `_get_decompressor` method
This logic is non-trivial and we will need to reuse it.
Differential Revision: https://phab.mercurial-scm.org/D10651
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Mon, 03 May 2021 21:04:55 +0200 |
parents | 4abd474a10af |
children | 6c84fc9c9a90 |
comparison
equal
deleted
inserted
replaced
47253:b876f0bf7366 | 47254:eac3591abbf4 |
---|---|
1161 # keeping references to the affected revlogs, especially memory-wise when | 1161 # keeping references to the affected revlogs, especially memory-wise when |
1162 # rewriting sidedata. | 1162 # rewriting sidedata. |
1163 # * sidedata compression | 1163 # * sidedata compression |
1164 # * introduce a proper solution to reduce the number of filelog related files. | 1164 # * introduce a proper solution to reduce the number of filelog related files. |
1165 # * Improvement to consider | 1165 # * Improvement to consider |
1166 # - track compression mode in the index entris instead of the chunks | 1166 # - avoid compression header in chunk using the default compression? |
1167 # - forbid "inline" compression mode entirely? | |
1167 # - split the data offset and flag field (the 2 bytes save are mostly trouble) | 1168 # - split the data offset and flag field (the 2 bytes save are mostly trouble) |
1168 # - keep track of uncompressed -chunk- size (to preallocate memory better) | 1169 # - keep track of uncompressed -chunk- size (to preallocate memory better) |
1169 # - keep track of chain base or size (probably not that useful anymore) | 1170 # - keep track of chain base or size (probably not that useful anymore) |
1170 # - store data and sidedata in different files | 1171 # - store data and sidedata in different files |
1171 coreconfigitem( | 1172 coreconfigitem( |