aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/python/zstandard/py3/patches/zstd-version.patch
diff options
context:
space:
mode:
authorrobot-contrib <robot-contrib@yandex-team.com>2025-02-21 20:33:28 +0300
committerrobot-contrib <robot-contrib@yandex-team.com>2025-02-21 22:22:00 +0300
commit005b8a9fd31e325164fdaad9ccde51222d9dc1c7 (patch)
tree927528cb5e48c5a3af50e324fd4476fe7d3c9657 /contrib/python/zstandard/py3/patches/zstd-version.patch
parent74abb8215ba55f6017c2504dc3312470949afa89 (diff)
downloadydb-005b8a9fd31e325164fdaad9ccde51222d9dc1c7.tar.gz
Update contrib/libs/zstd to 1.5.7
Release highlights are: * The compression speed for small data blocks has been notably (~10%) improved at fast compression levels. * The `--patch-from` functionality of the zstd CLI ... had its speed reduced to uncomfortable levels. v1.5.7 largely mitigates the speed impact of high compression levels 18+ * The compression ratio has been enhanced slightly for large data across all compression levels, commit_hash:c66283dd802e1fd38484f7179848006c58f2baa4
Diffstat (limited to 'contrib/python/zstandard/py3/patches/zstd-version.patch')
-rw-r--r--contrib/python/zstandard/py3/patches/zstd-version.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/contrib/python/zstandard/py3/patches/zstd-version.patch b/contrib/python/zstandard/py3/patches/zstd-version.patch
new file mode 100644
index 0000000000..c195f921e0
--- /dev/null
+++ b/contrib/python/zstandard/py3/patches/zstd-version.patch
@@ -0,0 +1,11 @@
+--- contrib/python/zstandard/py3/c-ext/backend_c.c (index)
++++ contrib/python/zstandard/py3/c-ext/backend_c.c (working tree)
+@@ -152,7 +152,7 @@ void zstd_module_init(PyObject *m) {
+ PyObject *features = NULL;
+ PyObject *feature = NULL;
+ unsigned zstd_ver_no = ZSTD_versionNumber();
+- unsigned our_hardcoded_version = 10506;
++ unsigned our_hardcoded_version = 10507;
+ if (ZSTD_VERSION_NUMBER != our_hardcoded_version ||
+ zstd_ver_no != our_hardcoded_version) {
+ PyErr_Format(