diff --git a/zstd-1.3.8.tar.gz b/zstd-1.3.8.tar.gz deleted file mode 100644 index a206552..0000000 --- a/zstd-1.3.8.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:293fa004dfacfbe90b42660c474920ff27093e3fb6c99f7b76e6083b21d6d48e -size 1862954 diff --git a/zstd-1.4.0.tar.gz b/zstd-1.4.0.tar.gz new file mode 100644 index 0000000..fad39ef --- /dev/null +++ b/zstd-1.4.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7f323f0e0c18488748f3d9b2d4353f00e904ea2ccd0372ea04d7f77aa1156557 +size 1886068 diff --git a/zstd.changes b/zstd.changes index a36ca99..303ef25 100644 --- a/zstd.changes +++ b/zstd.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Wed Apr 17 11:30:30 UTC 2019 - Jan Engelhardt + +- Update to new upstream release 1.4.0 + * perf: level 1 compression speed was improved by ~6–8% + * cli: added --[no-]compress-literals flag to enable or disable + literal compression +- Reword "real-time" in description by some actual statistics, + because 603MB/s (lowest zstd level) is not "real-time" for + quite some applications. + ------------------------------------------------------------------- Sat Jan 5 13:57:58 UTC 2019 - astieger@suse.com diff --git a/zstd.spec b/zstd.spec index 6ffbee5..ade1f37 100644 --- a/zstd.spec +++ b/zstd.spec @@ -12,14 +12,14 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # %define major 1 %define libname lib%{name}%{major} Name: zstd -Version: %{major}.3.8 +Version: %{major}.4.0 Release: 0 Summary: Zstandard compression tools License: BSD-3-Clause AND GPL-2.0-only @@ -35,14 +35,18 @@ BuildRequires: googletest-devel BuildRequires: pkgconfig %description -Zstd, short for Zstandard, is a lossless compression algorithm, -targeting real-time compression scenarios at zlib-level compression ratio. +Zstd, short for Zstandard, is a lossless compression algorithm. Speed +vs. compression trade-off is configurable in small increments. +Decompression speed is preserved and remains roughly the same at all +settings, a property shared by most LZ compression algorithms, such +as zlib or lzma. -Zstd can also offer stronger compression ratios at the cost of -compression speed. Speed vs. compression trade-off is configurable by -small increments. Decompression speed is preserved and remains -roughly the same at all settings, a property shared by most LZ -compression algorithms, such as zlib or lzma. +At roughly the same ratio, zstd (v1.3.5) achieves ~600%% faster +compression than zlib. At roughly the same time, zstd achives a ~12%% +better ratio than gzip. LZMA outperforms zstd by ~10%% faster +compression for same ratio, or ~9%% size reduction for same time. + +# This compression summary is based on https://lists.opensuse.org/opensuse-factory/2018-10/msg00111.html %package -n %{libname} Summary: Zstd compression library @@ -50,7 +54,7 @@ Group: System/Libraries %description -n %{libname} Zstd, short for Zstandard, is a lossless compression algorithm, -targeting real-time compression scenarios at zlib-level compression ratio. +targeting faster compression than zlib at comparable ratios. This subpackage contains the implementation as a shared library. @@ -62,7 +66,7 @@ Requires: glibc-devel %description -n lib%{name}-devel Zstd, short for Zstandard, is a lossless compression algorithm, -targeting real-time compression scenarios at zlib-level compression ratio. +targeting faster compression than zlib at comparable ratios. Needed for compiling programs that link with the library. @@ -74,7 +78,7 @@ Requires: lib%{name}-devel = %{version} %description -n lib%{name}-devel-static Zstd, short for Zstandard, is a lossless compression algorithm, -targeting real-time compression scenarios at zlib-level compression ratio. +targeting faster compression than zlib at comparable ratios. Needed for compiling programs that link with the library.