On 21 Sep 2020, at 16:14, Antoine Pitrou email@example.com wrote:
On Mon, 21 Sep 2020 09:31:47 -0000 "Omer Katz" <firstname.lastname@example.org mailto:email@example.com> wrote:
We have many compression algorithms as standard modules, but we lack two important new algorithms: brotli and zstandard.
Brotli is an important compression algorithm both for HTTP2 and for compressing/decompressing HTTP responses. ZStandard is another algorithm for compression that can easily beat gzip with a better compression ratio and less compression time. Both are now stable enough and are past the 1.0 mark.
Let's include them in the standard library and, of course, make them optional at build time like the rest of our compression modules. What do you think?
I would agree with ZStandard which is best-in-class currently.
Brotli sounds less important. Just my 2 cents, though :-)
We had to add this to our product I recall is extensively by google. We packaged the code at https://github.com/google/brotli to support this.
Have not heard of zstd being used on the web yet, elsewhere it pops up all the time.
In any case, each of these modules would need a maintainer willing to ensure maintenance inside the Python standard library.
Python-ideas mailing list -- firstname.lastname@example.org mailto:email@example.com To unsubscribe send an email to firstname.lastname@example.org mailto:email@example.com https://mail.python.org/mailman3/lists/python-ideas.python.org/ https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://firstname.lastname@example.org/message/A7C7BK... https://email@example.com/message/A7C7BKCZRKZIVGP3ILFTZDYR4VH7GYNU/ Code of Conduct: http://python.org/psf/codeofconduct/ http://python.org/psf/codeofconduct/