From: Yann Collet Date: Mon, 10 Feb 2025 18:48:56 +0000 (-0800) Subject: update hrlog comment X-Git-Tag: v1.5.7^2~4^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F4288%2Fhead;p=thirdparty%2Fzstd.git update hrlog comment --- diff --git a/lib/compress/zstd_ldm.c b/lib/compress/zstd_ldm.c index 6aa6197e9..070551cad 100644 --- a/lib/compress/zstd_ldm.c +++ b/lib/compress/zstd_ldm.c @@ -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); } }