Switch to Zstandard's New advanced API.

- long distance matching is enabled
- the compression should improve, the speed also
- decompression code is single threaded only
This commit is contained in:
Tino Reichardt
2018-10-26 00:09:25 +02:00
parent cc10eb2d9b
commit 739ec50c75
15 changed files with 207 additions and 235 deletions

View File

@@ -1,6 +1,6 @@
PROG = 7zu.dll
DEF_FILE = ../../Archive/Archive2.def
CFLAGS = $(CFLAGS) -DNEED_7ZIP_GUID
CFLAGS = $(CFLAGS) -DNEED_7ZIP_GUID -DZSTD_MULTITHREAD
COMMON_OBJS = \
$O\CRC.obj \
@@ -232,9 +232,6 @@ ZSTDMT_OBJS = \
$O\lz5-mt_common.obj \
$O\lz5-mt_compress.obj \
$O\lz5-mt_decompress.obj \
$O\zstd-mt_common.obj \
$O\zstd-mt_compress.obj \
$O\zstd-mt_decompress.obj \
$O\zstd-mt_threading.obj \
!include "../../7zip.mak"