mirror of
https://github.com/facebook/zstd.git
synced 2025-10-18 00:03:50 -04:00
dictionary size objective can be described in Megabytes
This commit is contained in:
parent
1dd7961557
commit
441f5d61fd
@ -396,6 +396,7 @@ int main(int argCount, const char** argv)
|
|||||||
nextArgumentIsMaxDict = 0;
|
nextArgumentIsMaxDict = 0;
|
||||||
maxDictSize = readU32FromChar(&argument);
|
maxDictSize = readU32FromChar(&argument);
|
||||||
if (toupper(*argument)=='K') maxDictSize <<= 10;
|
if (toupper(*argument)=='K') maxDictSize <<= 10;
|
||||||
|
if (toupper(*argument)=='M') maxDictSize <<= 20;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user