aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--archival/gzip.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/archival/gzip.c b/archival/gzip.c
index a543d8c36..b08e60efd 100644
--- a/archival/gzip.c
+++ b/archival/gzip.c
@@ -52,7 +52,7 @@ aa: 85.1% -- replaced with aa.gz
52//config: help 52//config: help
53//config: Enable support for compression levels 4-9. The default level 53//config: Enable support for compression levels 4-9. The default level
54//config: is 6. If levels 1-3 are specified, 4 is used. 54//config: is 6. If levels 1-3 are specified, 4 is used.
55//config: If this option is not selected, -N options are ignored and -9 55//config: If this option is not selected, -N options are ignored and -6
56//config: is used. 56//config: is used.
57//config: 57//config:
58//config:config FEATURE_GZIP_DECOMPRESS 58//config:config FEATURE_GZIP_DECOMPRESS
@@ -259,13 +259,13 @@ enum {
259 259
260#if !ENABLE_FEATURE_GZIP_LEVELS 260#if !ENABLE_FEATURE_GZIP_LEVELS
261 261
262 comp_level = 9, 262 comp_level = 6,
263 max_chain_length = 4096, 263 max_chain_length = 128,
264/* To speed up deflation, hash chains are never searched beyond this length. 264/* To speed up deflation, hash chains are never searched beyond this length.
265 * A higher limit improves compression ratio but degrades the speed. 265 * A higher limit improves compression ratio but degrades the speed.
266 */ 266 */
267 267
268 max_lazy_match = 258, 268 max_lazy_match = 16,
269/* Attempt to find a better match only when the current match is strictly 269/* Attempt to find a better match only when the current match is strictly
270 * smaller than this value. This mechanism is used only for compression 270 * smaller than this value. This mechanism is used only for compression
271 * levels >= 4. 271 * levels >= 4.
@@ -277,7 +277,7 @@ enum {
277 * max_insert_length is used only for compression levels <= 3. 277 * max_insert_length is used only for compression levels <= 3.
278 */ 278 */
279 279
280 good_match = 32, 280 good_match = 8,
281/* Use a faster search when the previous match is longer than this */ 281/* Use a faster search when the previous match is longer than this */
282 282
283/* Values for max_lazy_match, good_match and max_chain_length, depending on 283/* Values for max_lazy_match, good_match and max_chain_length, depending on
@@ -286,7 +286,7 @@ enum {
286 * found for specific files. 286 * found for specific files.
287 */ 287 */
288 288
289 nice_match = 258, /* Stop searching when current match exceeds this */ 289 nice_match = 128, /* Stop searching when current match exceeds this */
290/* Note: the deflate() code requires max_lazy >= MIN_MATCH and max_chain >= 4 290/* Note: the deflate() code requires max_lazy >= MIN_MATCH and max_chain >= 4
291 * For deflate_fast() (levels <= 3) good is ignored and lazy has a different 291 * For deflate_fast() (levels <= 3) good is ignored and lazy has a different
292 * meaning. 292 * meaning.