1
0
mirror of https://github.com/facebook/zstd.git synced 2025-03-06 16:56:49 +02:00

update hrlog comment

This commit is contained in:
Yann Collet 2025-02-10 10:48:56 -08:00
parent 67fad95f79
commit d2c562b803

View File

@ -147,7 +147,7 @@ void ZSTD_ldm_adjustParameters(ldmParams_t* params,
}
} else {
assert(1 <= (int)cParams->strategy && (int)cParams->strategy <= 9);
/* mapping: strat1 -> rate8 ... strat9 -> rate4*/
/* mapping from [fast, rate7] to [btultra2, rate4] */
params->hashRateLog = 7 - (cParams->strategy/3);
}
}