commit | e0c5df8c613274a013b228957b8e657615767642 | [log] [tgz] |
---|---|---|
author | Khaled Hosny <khaledhosny@eglug.org> | Fri Mar 13 23:55:03 2015 +0200 |
committer | Khaled Hosny <khaledhosny@eglug.org> | Mon Mar 16 21:06:52 2015 +0200 |
tree | 85192a9904d6295a68b2d35044d9433feffa83ba | |
parent | ca29aa22c295daac15baf5d85427ecc7808b515c [diff] |
[python] Use BrotliDecompress() So that we can use a callback to dynamically allocate the decompression buffer, getting rid of the optional bufsize argument to decompress.decompress().
Brotli is a generic-purpose lossless compression algorithm that compresses data using a combination of a modern variant of the LZ77 algorithm, Huffman coding and 2nd order context modeling, with a compression ratio comparable to the best currently available general-purpose compression methods. It is similar in speed with deflate but offers more dense compression.
The specification of the Brotli Compressed Data Format is defined in the following internet draft: http://www.ietf.org/id/draft-alakuijala-brotli
Brotli is open-sourced under the Apache License, Version 2.0, see the LICENSE file.