]> Cypherpunks repositories - gostls13.git/commit
compress/lzw: mention relation between litWidth and input bytes
authorJeff R. Allen <jra@nella.org>
Wed, 17 Jun 2015 12:07:13 +0000 (14:07 +0200)
committerNigel Tao <nigeltao@golang.org>
Thu, 18 Jun 2015 22:09:37 +0000 (22:09 +0000)
commit2a5745d81e9a5b3af1f0b42f5cbc0d6ba4ba6ec2
tree31674abeb01c946a51502aec4ea82f751512c31c
parent90a19961f2b885ee253b2d51820977dc9c635f0c
compress/lzw: mention relation between litWidth and input bytes

Add sentences to the docs explaining the limit on input
bytes implicit in the choice of litWidth, and the fact that
compress and decompress litWidth must match.

Fixes #11142.

Change-Id: I20cfb4df35739f7bfeb50b92c78249df3d47942c
Reviewed-on: https://go-review.googlesource.com/11063
Reviewed-by: Nigel Tao <nigeltao@golang.org>
src/compress/lzw/reader.go
src/compress/lzw/writer.go