]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
update hrlog comment 4288/head
authorYann Collet <cyan@fb.com>
Mon, 10 Feb 2025 18:48:56 +0000 (10:48 -0800)
committerYann Collet <cyan@fb.com>
Mon, 10 Feb 2025 18:48:56 +0000 (10:48 -0800)
lib/compress/zstd_ldm.c

index 6aa6197e99099ce6d57d322033cc1e6dc2d4eee4..070551cad818ddffbf86b165894c82d63d6ba262 100644 (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);
         }
     }