]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
Test Fewer Dictionary Sizes
authorW. Felix Handte <w@felixhandte.com>
Fri, 11 Sep 2020 02:29:19 +0000 (22:29 -0400)
committerW. Felix Handte <w@felixhandte.com>
Fri, 11 Sep 2020 02:30:52 +0000 (22:30 -0400)
tests/fuzzer.c

index 579aeed94236705abc50197173eb862f624bd1b9..a659f4872cb766eabf25cb4e208dd8363b65b1ea 100644 (file)
@@ -2948,8 +2948,8 @@ static int basicUnitTests(U32 const seed, double compressibility)
 
         CHECK(cctx_params != NULL);
 
-        for (dictSize = CNBuffSize; dictSize; dictSize = dictSize >> 1) {
-            for (cLevel = 4; cLevel < 12; cLevel++) {
+        for (dictSize = CNBuffSize; dictSize; dictSize = dictSize >> 3) {
+            for (cLevel = 4; cLevel < 13; cLevel++) {
                 for (i = 0; i < 8; ++i) {
                     ZSTD_dictAttachPref_e const attachPref = attachPrefs[i];
                     int const enableDDS = enableDedicatedDictSearch[i];