aboutsummaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorZoltan Szabadka <szabadka@google.com>2015-05-07 16:53:43 +0200
committerZoltan Szabadka <szabadka@google.com>2015-05-07 16:53:43 +0200
commit83aa24dc8686b62177d776a3baab5f69badc1a78 (patch)
tree1ed5472993dd575baaeb0185ffa23a5a40ae86bb /.gitignore
parent47ea76186903fac8c6ed5b3a9f4e6fa5a801f824 (diff)
downloadbrotli-83aa24dc8686b62177d776a3baab5f69badc1a78.zip
brotli-83aa24dc8686b62177d776a3baab5f69badc1a78.tar.gz
brotli-83aa24dc8686b62177d776a3baab5f69badc1a78.tar.bz2
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.
Diffstat (limited to '.gitignore')
-rw-r--r--.gitignore1
1 files changed, 1 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 83973eb..162f036 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1,5 @@
*.o
+*.pyc
*.txt.uncompressed
*.bro
*.unbro