FAQ
Reviewers: rsc,

Message:
Hello rsc@golang.org (cc: golang-dev@googlegroups.com),

I'd like you to review this change to
https://code.google.com/p/go


Description:
compress/flate: Performance improvement for inflate

Decode as much as possible of a Huffman symbol in a single table
lookup (much like the zlib implementation), filling more bits
(conservatively, so we don't consume past the end of the stream)
when the code prefix indicates more bits are needed. This
results in about a 50% performance gain in speed benchmarks.

Please review this at https://codereview.appspot.com/6872063/

Affected files:
M src/pkg/compress/flate/flate_test.go
M src/pkg/compress/flate/inflate.go

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupgolang-dev @
categoriesgo
postedDec 21, '12 at 5:24a
activeDec 27, '12 at 10:17a
posts15
users5
websitegolang.org

People

Translate

site design / logo © 2022 Grokbase