dictionary size objective can be described in Megabytes

This commit is contained in:
Yann Collet 2016-06-03 15:15:47 +02:00
parent 1dd7961557
commit 441f5d61fd

View File

@ -396,6 +396,7 @@ int main(int argCount, const char** argv)
nextArgumentIsMaxDict = 0;
maxDictSize = readU32FromChar(&argument);
if (toupper(*argument)=='K') maxDictSize <<= 10;
if (toupper(*argument)=='M') maxDictSize <<= 20;
continue;
}