]> git.ipfire.org Git - thirdparty/zstd.git/commit
allow jobSize to be as low as 512 KB
authorYann Collet <cyan@fb.com>
Tue, 4 May 2021 17:54:34 +0000 (10:54 -0700)
committerYann Collet <cyan@fb.com>
Tue, 4 May 2021 18:02:55 +0000 (11:02 -0700)
commit8f86c29c068f32ffa64318fdc100396cba2568cc
treea18887abff0afcff20bc52a2a56b689f09a31ec3
parent6f40571ae2feb8bfa0a56f9871b6ee3084085fc2
allow jobSize to be as low as 512 KB

previous lower limit was 1 MB.

Note : by default, the lowest job size is 2 MB, achieved at level 1.
Even lower job sizes can be achieved by manipulating this value directly,
or manually modifying window sizes to lower amounts.

Updated unit test to ensure that this new limit works fine
(test would fail with previous 1 MB limit).
lib/compress/zstdmt_compress.h
tests/fuzzer.c