From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Fri, 25 Apr 2025 02:09:58 +0000 (+0200) Subject: [3.13] gh-98347: Add links to python-isal in the documentation (GH-98637) (#132894) X-Git-Tag: v3.13.4~228 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=293f2895d577dbabcd7202950ddb6089ea70b959;p=thirdparty%2FPython%2Fcpython.git [3.13] gh-98347: Add links to python-isal in the documentation (GH-98637) (#132894) gh-98347: Add links to python-isal in the documentation (GH-98637) Clearly note that this is primarily intended for users for who zlib/gzip is a bottleneck. (cherry picked from commit b1fc8b69ec4c29026cd8786fc5da0c498c7dcd57) Co-authored-by: Ruben Vorderman Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> --- diff --git a/Doc/library/gzip.rst b/Doc/library/gzip.rst index ccf9bbb28de1..d6f72c1610c5 100644 --- a/Doc/library/gzip.rst +++ b/Doc/library/gzip.rst @@ -253,6 +253,10 @@ Example of how to GZIP compress a binary string:: The basic data compression module needed to support the :program:`gzip` file format. + In case gzip (de)compression is a bottleneck, the `python-isal`_ + package speeds up (de)compression with a mostly compatible API. + + .. _python-isal: https://github.com/pycompression/python-isal .. program:: gzip diff --git a/Doc/library/zlib.rst b/Doc/library/zlib.rst index 965b82a3daff..4f0eac0a9d51 100644 --- a/Doc/library/zlib.rst +++ b/Doc/library/zlib.rst @@ -341,3 +341,8 @@ the following constants: http://www.zlib.net/manual.html The zlib manual explains the semantics and usage of the library's many functions. + + In case gzip (de)compression is a bottleneck, the `python-isal`_ + package speeds up (de)compression with a mostly compatible API. + + .. _python-isal: https://github.com/pycompression/python-isal