File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -517,10 +517,10 @@ def _open_zst(
517
517
# zstd can compress using multiple cores
518
518
program_args : Tuple [str , ...] = ("zstd" ,)
519
519
if "r" in mode :
520
- # Only use --long=31 for decompression. Otherwise compression
521
- # will always use a very long window size, which will result
522
- # in very long compute times and the resulting archive not
523
- # openable by other tools without extra settings .
520
+ # Only use --long=31 for decompression. Using it for
521
+ # compression overrides level settings for window size and
522
+ # forces other zstd users to use `--long=31` to decompress any
523
+ # archive that has been compressed by xopen .
524
524
program_args += (f"--long={ max_window_bits } " ,)
525
525
return _PipedCompressionProgram (
526
526
filename ,
You can’t perform that action at this time.
0 commit comments