]> git.ipfire.org Git - thirdparty/zstd.git/commit
changed dynamic fse threshold for offset
authorYann Collet <cyan@fb.com>
Sat, 26 May 2018 00:41:16 +0000 (17:41 -0700)
committerYann Collet <cyan@fb.com>
Sat, 26 May 2018 00:41:16 +0000 (17:41 -0700)
commita7fdceeccd0880f8804d6d4fe7ce6ab0c6cbb98b
tree5548a98f4711cf6fec08c972d0400eaddde1023b
parent744f36aac49055f50496705bad8c3b4606137b89
changed dynamic fse threshold for offset

recent experienced showed that
default distribution table for offset
can get it wrong pretty quickly with the nb of symbols,
while it remains a reasonable choice much longer for lengths symbols.

Changed the formula,
so that dynamic threshold is now 32 symbols for offsets.
It remains at 64 symbols for lengths.

Detection based on defaultNormLog
lib/compress/zstd_compress.c