]> git.ipfire.org Git - thirdparty/zstd.git/commit
removed limit ZSTD_TARGETLENGTH_MAX
authorYann Collet <cyan@fb.com>
Wed, 21 Mar 2018 22:50:05 +0000 (15:50 -0700)
committerYann Collet <cyan@fb.com>
Wed, 21 Mar 2018 22:50:05 +0000 (15:50 -0700)
commit153bc1c0047f9c2bb503ced4f1b6f13b75e9c80a
treead487e81d677d08ba6a4dac11beae5e0a10bde12
parent1be8660eca9045db4498702784dae6032ea9f943
removed limit ZSTD_TARGETLENGTH_MAX

this makes it possible to specify extremely large negative compression levels,
achieving the side effect as "no compression".

It will also be possible to define larger targetlength for ultra compression mode.

There is no adverse side effect due to removing this limit.
lib/compress/zstd_compress.c
lib/zstd.h
programs/zstdcli.c