Skip to content
This repository was archived by the owner on Feb 6, 2024. It is now read-only.

Commit

Permalink
change default zlib compression level from 9 to 1 for speed
Browse files Browse the repository at this point in the history
  • Loading branch information
bqminh committed Apr 18, 2019
1 parent 3c0a052 commit 1af405c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/gzstream.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ gzstreambuf* gzstreambuf::open( const char* name, int open_mode) {
if (mode & GZ_NO_COMPRESSION)
*fmodeptr++ = '0'; // no compression
else
*fmodeptr++ = '9'; // best compression ratio
*fmodeptr++ = '1'; // fast compression ratio
*fmodeptr = '\0';
file = gzopen( name, fmode);
if (file == 0)
Expand Down

0 comments on commit 1af405c

Please sign in to comment.