mirror of
https://github.com/facebook/zstd.git
synced 2025-07-29 11:21:22 +03:00
changed default compression level to 3 (can be modified with macro ZSTDCLI_DEFAULT_CLEVEL)
This commit is contained in:
@ -28,6 +28,14 @@
|
||||
*/
|
||||
|
||||
|
||||
/*-************************************
|
||||
* Tuning parameters
|
||||
**************************************/
|
||||
#ifndef ZSTDCLI_DEFAULT_CLEVEL
|
||||
# define ZSTDCLI_DEFAULT_CLEVEL 3
|
||||
#endif
|
||||
|
||||
|
||||
/*-************************************
|
||||
* Includes
|
||||
**************************************/
|
||||
@ -207,7 +215,7 @@ int main(int argCount, const char** argv)
|
||||
nextArgumentIsMaxDict=0,
|
||||
nextArgumentIsDictID=0,
|
||||
nextArgumentIsFile=0;
|
||||
unsigned cLevel = 1;
|
||||
unsigned cLevel = ZSTDCLI_DEFAULT_CLEVEL;
|
||||
unsigned cLevelLast = 1;
|
||||
unsigned recursive = 0;
|
||||
const char** filenameTable = (const char**)malloc(argCount * sizeof(const char*)); /* argCount >= 1 */
|
||||
@ -331,7 +339,7 @@ int main(int argCount, const char** argv)
|
||||
/* test compressed file */
|
||||
case 't': decode=1; outFileName=nulmark; argument++; break;
|
||||
|
||||
/* dictionary name */
|
||||
/* destination file name */
|
||||
case 'o': nextArgumentIsOutFileName=1; argument++; break;
|
||||
|
||||
/* recursive */
|
||||
|
Reference in New Issue
Block a user