Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 16794dd

Browse files
committedJan 12, 2024
Choose level 1 as default
1 parent 4bebae8 commit 16794dd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎src/xopen/__init__.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@
5454
# 128K buffer size also used by cat, pigz etc. It is faster than the 8K default.
5555
BUFFER_SIZE = max(io.DEFAULT_BUFFER_SIZE, 128 * 1024)
5656

57-
# Compression level 6 is the default for most gzip applications
58-
XOPEN_DEFAULT_GZIP_COMPRESSION = 6
57+
# 1 is by far the fastest and most efficient level.
58+
XOPEN_DEFAULT_GZIP_COMPRESSION = 1
5959

6060
igzip: Optional[ModuleType]
6161
isal_zlib: Optional[ModuleType]

0 commit comments

Comments
 (0)
Please sign in to comment.