From: Yann Collet Date: Mon, 2 Nov 2015 11:17:39 +0000 (+0100) Subject: v0.3.2 X-Git-Tag: zstd-0.3.2^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7671f393beedcf391494d337a3b73f978109ed10;p=thirdparty%2Fzstd.git v0.3.2 --- diff --git a/Makefile b/Makefile index 8d63928f1..7f90fd295 100644 --- a/Makefile +++ b/Makefile @@ -32,7 +32,7 @@ # ################################################################ # Version number -export VERSION := 0.3.1 +export VERSION := 0.3.2 PRGDIR = programs ZSTDDIR = lib diff --git a/NEWS b/NEWS index 7d67e0283..9693d7793 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,6 @@ +v0.3.2 +Fixed Visual Studio + v0.3.1 : Small compression ratio improvement diff --git a/README.md b/README.md index d8766656f..9615f37ba 100644 --- a/README.md +++ b/README.md @@ -23,12 +23,13 @@ For a taste of its performance, here are a few benchmark numbers from a number o [zlib]:http://www.zlib.net/ [LZ4]:http://www.lz4.org/ -Zstd can also offer stronger compression ratio at the cost of compression speed. Compression speed is highly configurable, by small increment, to fit different situations. Note however that decompression speed is preserved and remain roughly the same at all settings, a property shared by most LZ compression algorithms, such as [zlib]. The following test is run on a Core i7-3930K CPU @ 4.5GHz, using [lzbench], an open-source in-memory benchmark by inikep. +Zstd can also offer stronger compression ratio at the cost of compression speed. Speed / Ratio trade-off is configurable by small increment, to fit different situations. Note however that decompression speed is preserved and remain roughly the same at all settings, a property shared by most LZ compression algorithms, such as [zlib]. The following test is run on a Core i7-3930K CPU @ 4.5GHz, using [lzbench], an open-source in-memory benchmark by inikep. [lzbench]:https://github.com/inikep/lzbench -Compression Ratio vs Speed | Decompression Speed + +Compression Speed vs Ratio | Decompression Speed ---------------------------|-------------------- -![Compression Ratio vs Speed](images/CSpeed.png "Compression Ratio vs Speed") | ![Decompression Speed](images/DSpeed.png "Decompression Speed") +![Compression Speed vs Ratio](images/CSpeed.png "Compression Speed vs Ratio") | ![Decompression Speed](images/DSpeed.png "Decompression Speed") Zstd entropy stage is provided by [Huff0 and FSE, from Finite State Entrop library](https://github.com/Cyan4973/FiniteStateEntropy). diff --git a/lib/zstd.h b/lib/zstd.h index 1f2d57387..d17bc4a33 100644 --- a/lib/zstd.h +++ b/lib/zstd.h @@ -48,7 +48,7 @@ extern "C" { ***************************************/ #define ZSTD_VERSION_MAJOR 0 /* for breaking interface changes */ #define ZSTD_VERSION_MINOR 3 /* for new (non-breaking) interface capabilities */ -#define ZSTD_VERSION_RELEASE 0 /* for tweaks, bug-fixes, or development */ +#define ZSTD_VERSION_RELEASE 2 /* for tweaks, bug-fixes, or development */ #define ZSTD_VERSION_NUMBER (ZSTD_VERSION_MAJOR *100*100 + ZSTD_VERSION_MINOR *100 + ZSTD_VERSION_RELEASE) unsigned ZSTD_versionNumber (void); diff --git a/lib/zstdhc_static.h b/lib/zstdhc_static.h index 9cf4d86bd..cbc938540 100644 --- a/lib/zstdhc_static.h +++ b/lib/zstdhc_static.h @@ -105,21 +105,21 @@ static const ZSTD_HC_parameters ZSTD_HC_defaultParameters[ZSTD_HC_MAX_CLEVEL+1] { 21, 19, 20, 4, 5, ZSTD_HC_lazy }, /* level 8 */ { 21, 19, 20, 5, 5, ZSTD_HC_lazy }, /* level 9 */ { 21, 20, 20, 5, 5, ZSTD_HC_lazy }, /* level 10 */ - { 21, 20, 20, 5, 5, ZSTD_HC_lazy }, /* level 11 */ + { 21, 21, 20, 5, 5, ZSTD_HC_lazy }, /* level 11 */ { 22, 20, 22, 6, 5, ZSTD_HC_lazy }, /* level 12 */ { 22, 21, 22, 6, 5, ZSTD_HC_lazy }, /* level 13 */ { 23, 21, 22, 6, 5, ZSTD_HC_lazy }, /* level 14 */ { 23, 21, 23, 7, 5, ZSTD_HC_lazy }, /* level 15 */ { 23, 22, 22, 6, 5, ZSTD_HC_lazy }, /* level 16 */ { 23, 22, 22, 7, 5, ZSTD_HC_lazy }, /* level 17 */ - { 23, 22, 23, 7, 5, ZSTD_HC_lazy }, /* level 18 */ + { 23, 23, 22, 7, 5, ZSTD_HC_lazy }, /* level 18 */ { 23, 22, 23, 8, 5, ZSTD_HC_lazy }, /* level 19 */ { 23, 23, 23, 8, 5, ZSTD_HC_lazy }, /* level 20 */ { 23, 23, 23, 8, 5, ZSTD_HC_lazy }, /* level 21 */ - { 24, 23, 23, 8, 5, ZSTD_HC_lazy }, /* level 22 */ + { 24, 24, 24, 8, 5, ZSTD_HC_lazy }, /* level 22 */ { 24, 23, 23, 9, 5, ZSTD_HC_lazy }, /* level 23 */ { 24, 24, 24, 9, 5, ZSTD_HC_lazy }, /* level 24 */ - { 24, 24, 24, 10, 5, ZSTD_HC_lazy }, /* level 25 */ + { 24, 24, 24, 9, 5, ZSTD_HC_lazy }, /* level 25 */ { 24, 24, 24, 10, 5, ZSTD_HC_lazy }, /* level 26 */ /* ZSTD_HC_MAX_CLEVEL */ }; diff --git a/programs/Makefile b/programs/Makefile index 8332871bb..82125c994 100644 --- a/programs/Makefile +++ b/programs/Makefile @@ -30,7 +30,7 @@ # fullbench32: Same as fullbench, but forced to compile in 32-bits mode # ########################################################################## -VERSION?= 0.3.1 +VERSION?= 0.3.2 DESTDIR?= PREFIX ?= /usr/local