| 1 |
Description: Set ZSTD_COMPRESS_LEVEL to 21 as zst compression consumes a lot of mem in 32 bit |
| 2 |
Author: Nilesh Patra <[email protected]> |
| 3 |
Last-Update: 2023-07-11 |
| 4 |
Comment: Deactivated since upstream has now set level 19 |
| 5 |
|
| 6 |
--- a/src/conda_package_handling/conda_fmt.py |
| 7 |
+++ b/src/conda_package_handling/conda_fmt.py |
| 8 |
@@ -19,10 +19,10 @@ |
| 9 |
from .streaming import _extract |
| 10 |
|
| 11 |
CONDA_PACKAGE_FORMAT_VERSION = 2 |
| 12 |
-DEFAULT_COMPRESSION_TUPLE = (".tar.zst", "zstd", "zstd:compression-level=22") |
| 13 |
+DEFAULT_COMPRESSION_TUPLE = (".tar.zst", "zstd", "zstd:compression-level=21") |
| 14 |
|
| 15 |
# increase to reduce speed and increase compression (22 = conda's default) |
| 16 |
-ZSTD_COMPRESS_LEVEL = 22 |
| 17 |
+ZSTD_COMPRESS_LEVEL = 21 |
| 18 |
# increase to reduce compression (slightly) and increase speed |
| 19 |
ZSTD_COMPRESS_THREADS = 1 |
| 20 |
|