commit | d7b7957db16da1311ce1a8623d7c4c5a154cf815 | [log] [tgz] |
---|---|---|
author | Nigel Tao <nigeltao@golang.org> | Sun Oct 07 19:32:28 2012 +1100 |
committer | Nigel Tao <nigeltao@golang.org> | Sun Oct 07 19:32:28 2012 +1100 |
tree | 74953ee7682afd1592b454f233e6225551cdf994 | |
parent | 9224b4c873f09c310787b12830acdb5577a099c9 [diff] |
image/jpeg: move the huffman bit decoder state higher up in the decoder struct, inside the unmappedzero limit, to eliminate some TESTB instructions in the inner decoding loop. benchmark old ns/op new ns/op delta BenchmarkDecode 2943204 2746360 -6.69% R=r, dave CC=golang-dev https://golang.org/cl/6625058