]> git.ipfire.org Git - thirdparty/zstd.git/commit
changed naming to ZSTD_indexTooCloseToMax() 1658/head
authorYann Collet <cyan@fb.com>
Mon, 24 Jun 2019 21:39:29 +0000 (14:39 -0700)
committerYann Collet <cyan@fb.com>
Mon, 24 Jun 2019 21:39:29 +0000 (14:39 -0700)
commit621adde3b2ec07d4984f4d232e9ae2f0981ca5e1
treea53e52c5be5c33fe919a8c436704f31c34766edf
parent45c9fbd6d95ce84d8359aba5c1d2ee5b1083b04e
changed naming to ZSTD_indexTooCloseToMax()

Also : minor speed optimization :
shortcut to ZSTD_reset_matchState() rather than the full reset process.
It still needs to be completed with ZSTD_continueCCtx() for proper initialization.

Also : changed position of LDM hash tables in the context,
so that the "regular" hash tables can be at a predictable position,
hence allowing the shortcut to ZSTD_reset_matchState() without complex conditions.
lib/compress/zstd_compress.c
lib/compress/zstdmt_compress.c