commit | 945b0d025fae3819f02dc1076fb0e7270199d143 | [log] [tgz] |
---|---|---|
author | Zoltan Szabadka <szabadka@google.com> | Thu May 07 17:23:07 2015 +0200 |
committer | Zoltan Szabadka <szabadka@google.com> | Thu May 07 17:23:07 2015 +0200 |
tree | 649f716f62de80b2ca13df420e616f7b0552ac8f | |
parent | 762f9ba5a0add1cf9f638b785d41f14958bbd214 [diff] |
Use a static context map with two buckets for UTF8 data. Enabled for quality >= 4, and if there are no obvious UTF8 violations detected. For each block, we gather two separate histograms, one for continuation bytes and one for ASCII or lead bytes.
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.