From: W. Felix Handte Date: Fri, 11 Sep 2020 02:29:19 +0000 (-0400) Subject: Test Fewer Dictionary Sizes X-Git-Tag: v1.4.7~80^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6d3f816b3e232f4ab4ffdf9e14d39cb6cf796334;p=thirdparty%2Fzstd.git Test Fewer Dictionary Sizes --- diff --git a/tests/fuzzer.c b/tests/fuzzer.c index 579aeed94..a659f4872 100644 --- a/tests/fuzzer.c +++ b/tests/fuzzer.c @@ -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];