You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/compression.jl
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -24,8 +24,8 @@ Create a gzip compression codec.
24
24
25
25
Arguments
26
26
---------
27
-
- `level`: compression level (-1..9)
28
-
- `windowbits`: size of history buffer (9..15)
27
+
- `level` (-1..9): compression level. 1 gives best speed, 9 gives best compression, 0 gives no compression at all (the input data is simply copied a block at a time). -1 requests a default compromise between speed and compression (currently equivalent to level 6).
28
+
- `windowbits` (9..15): size of history buffer is `2^windowbits`.
29
29
30
30
!!! warning
31
31
`serialize` and `deepcopy` will not work with this codec due to stored raw pointers.
@@ -72,8 +72,8 @@ Create a zlib compression codec.
72
72
73
73
Arguments
74
74
---------
75
-
- `level`: compression level (-1..9)
76
-
- `windowbits`: size of history buffer (9..15)
75
+
- `level` (-1..9): compression level. 1 gives best speed, 9 gives best compression, 0 gives no compression at all (the input data is simply copied a block at a time). -1 requests a default compromise between speed and compression (currently equivalent to level 6).
76
+
- `windowbits` (9..15): size of history buffer is `2^windowbits`.
77
77
78
78
!!! warning
79
79
`serialize` and `deepcopy` will not work with this codec due to stored raw pointers.
@@ -120,8 +120,8 @@ Create a deflate compression codec.
120
120
121
121
Arguments
122
122
---------
123
-
- `level`: compression level (-1..9)
124
-
- `windowbits`: size of history buffer (9..15)
123
+
- `level` (-1..9): compression level. 1 gives best speed, 9 gives best compression, 0 gives no compression at all (the input data is simply copied a block at a time). -1 requests a default compromise between speed and compression (currently equivalent to level 6).
124
+
- `windowbits` (9..15): size of history buffer is `2^windowbits`.
125
125
126
126
!!! warning
127
127
`serialize` and `deepcopy` will not work with this codec due to stored raw pointers.
0 commit comments