]> git.ipfire.org Git - thirdparty/zstd.git/commit
Fall Back if Derived CParams are Incompatible with DDSS; Refactor CDict Creation
authorW. Felix Handte <w@felixhandte.com>
Tue, 15 Sep 2020 18:06:58 +0000 (14:06 -0400)
committerW. Felix Handte <w@felixhandte.com>
Tue, 15 Sep 2020 22:01:08 +0000 (18:01 -0400)
commiteee51a664a4170165b3f6acf0d6cc1bc4a7d1d9d
tree12857fd0556191a43338426a35e051ae3b1be741
parentbc6521a6f64b4270eb5ac1e59b91685600ec5040
Fall Back if Derived CParams are Incompatible with DDSS; Refactor CDict Creation

Rewrite ZSTD_createCDict_advanced() as a wrapper around
ZSTD_createCDict_advanced2(). Evaluate whether to use DDSS mode *after* fully
resolving cparams. If not, fall back.
lib/compress/zstd_compress.c