|
83aa24dc
|
2015-05-07T16:53:43
|
|
Speed and memory usage improvements for the decoder.
* Change order of members of bit reader state structure.
* Remove unused includes for assert. Add BROTLI_DCHECK
macros and use it instead of assert.
* Do not calculate nbits in common case of ReadSymbol.
* Introduce and use PREDICT_TRUE / PREDICT_FALSE macros.
* Allocate less memory in the brotli decoder if it knows
the result size beforehand. Before this, the decoder
would always allocate 16MB if the encoder annotated the
window size as 22 bit (which is the default), even if the
file is only a few KB uncompressed. Now, it'll only
allocate a ringbuffer as large as needed for the result file.
But only if it can know the filesize, it's not possible
to know that if there are multiple metablocks or too large
uncompressed metablock.
|
|
81cb09f1
|
2015-03-20T15:44:15
|
|
separate the licenses from documentation
|
|
460dda1b
|
2014-10-28T13:57:46
|
|
Decoder code cleanup.
1) Use a tighter upper bound on the Huffman table size.
2) Remove unused argument len in ToUpperCase.
3) Remove unused no-op assignment in BrotliDecompress.
4) Fix include guard name.
|
|
d01c71c4
|
2014-01-08T12:34:35
|
|
Fix -Wconversion compiler warnings in the brotli decoder.
|
|
b8a10085
|
2013-12-16T14:45:57
|
|
Use C-style comments in the brotli decoder.
|
|
8f30907d
|
2013-10-11T10:26:07
|
|
Add brotli decompressor
This commit is for the decoder for brotli compression format.
Brotli is a generic byte-level compression algorithm.
|