Skip to content

Commit b6291b6

Browse files
committed
docs: specify what zlib.Z_DEFAULT_COMPRESSION means
closes #34
1 parent c983e2f commit b6291b6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,8 @@ result in less compression, but will be much faster.
6060

6161
This is an integer in the range of `0` (no compression) to `9` (maximum
6262
compression). The special value `-1` can be used to mean the "default
63-
compression level".
63+
compression level", which is a default compromise between speed and
64+
compression (currently equivalent to level 6).
6465

6566
- `-1` Default compression level (also `zlib.Z_DEFAULT_COMPRESSION`).
6667
- `0` No compression (also `zlib.Z_NO_COMPRESSION`).
@@ -69,7 +70,7 @@ compression level".
6970
- `3`
7071
- `4`
7172
- `5`
72-
- `6`
73+
- `6` (currently what `zlib.Z_DEFAULT_COMPRESSION` points to).
7374
- `7`
7475
- `8`
7576
- `9` Best compression (also `zlib.Z_BEST_COMPRESSION`).

0 commit comments

Comments
 (0)