
On 21 Sep 2020, at 16:14, Antoine Pitrou solipsis@pitrou.net wrote:
Hi,
On Mon, 21 Sep 2020 09:31:47 -0000 "Omer Katz" <omer.drow@gmail.com mailto:omer.drow@gmail.com> wrote:
Hello everyone,
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.
Barry
In any case, each of these modules would need a maintainer willing to ensure maintenance inside the Python standard library.
Regards
Antoine.
Python-ideas mailing list -- python-ideas@python.org mailto:python-ideas@python.org To unsubscribe send an email to python-ideas-leave@python.org mailto:python-ideas-leave@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/A7C7BK... https://mail.python.org/archives/list/python-ideas@python.org/message/A7C7BKCZRKZIVGP3ILFTZDYR4VH7GYNU/ Code of Conduct: http://python.org/psf/codeofconduct/ http://python.org/psf/codeofconduct/