Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(13042)

Issue 2510041: code review 2510041: first draft for a Lempel-Ziv-Welch compression package.

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 6 months ago by mpl
Modified:
13 years, 2 months ago
CC:
golang-dev
Visibility:
Public.

Description

first draft for a Lempel-Ziv-Welch compression package.

Patch Set 1 #

Patch Set 2 : code review 2510041: first draft for a Lempel-Ziv-Welch compression package. #

Patch Set 3 : code review 2510041: first draft for a Lempel-Ziv-Welch compression package. #

Patch Set 4 : code review 2510041: first draft for a Lempel-Ziv-Welch compression package. #

Patch Set 5 : code review 2510041: first draft for a Lempel-Ziv-Welch compression package. #

Patch Set 6 : code review 2510041: first draft for a Lempel-Ziv-Welch compression package. #

Total comments: 15

Patch Set 7 : diff -r 8280f07d4272 https://go.googlecode.com/hg/ #

Patch Set 8 : diff -r 8280f07d4272 https://go.googlecode.com/hg/ #

Total comments: 8
Unified diffs Side-by-side diffs Delta from patch set Stats (+673 lines, -0 lines) Patch
M src/pkg/Makefile View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
A src/pkg/compress/lzw/Makefile View 1 2 3 4 5 6 1 chunk +12 lines, -0 lines 1 comment Download
A src/pkg/compress/lzw/lzw_test.go View 1 2 3 4 5 6 1 chunk +134 lines, -0 lines 2 comments Download
A src/pkg/compress/lzw/reader.go View 1 2 3 4 5 6 1 chunk +260 lines, -0 lines 5 comments Download
A src/pkg/compress/lzw/testdata/e.txt View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
A src/pkg/compress/lzw/testdata/pi.txt View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
A src/pkg/compress/lzw/writer.go View 1 2 3 4 5 6 1 chunk +264 lines, -0 lines 0 comments Download

Messages

Total messages: 31
mpl
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com), I'd like you to review this change.
13 years, 6 months ago (2010-10-14 13:41:27 UTC) #1
mpl
I know there's room for improvement. in particular, it could do some buffering and the ...
13 years, 6 months ago (2010-10-14 13:46:57 UTC) #2
rsc
Do you know that there are multiple file formats that use the same encoding, to ...
13 years, 6 months ago (2010-10-14 14:07:56 UTC) #3
rsc
As a first step, you should run hg gofmt hg upload 2510041 There are also ...
13 years, 6 months ago (2010-10-22 13:48:55 UTC) #4
nigeltao_gnome
I agree with everything Russ said, and addressing his concerns would probably involve re-writing the ...
13 years, 6 months ago (2010-10-23 00:41:26 UTC) #5
mpl
Thanks for the comments, I'm on it. I've got MSB packing order working as well ...
13 years, 6 months ago (2010-10-23 16:13:46 UTC) #6
nigeltao_gnome
On 24 October 2010 03:13, <mathieu.lonjaret@gmail.com> wrote: > I've got MSB packing order working as ...
13 years, 6 months ago (2010-10-24 07:24:01 UTC) #7
rsc1
13 years, 6 months ago (2010-11-01 18:51:36 UTC) #8
mpl
Hello nigeltao_gnome, rsc (cc: golang-dev@googlegroups.com), Please take another look.
13 years, 5 months ago (2010-11-15 21:50:29 UTC) #9
mpl
this is a new version of the reader which, I think addresses all of your ...
13 years, 5 months ago (2010-11-15 21:55:24 UTC) #10
mpl
Hello nigeltao_gnome, rsc (cc: golang-dev@googlegroups.com), Please take another look.
13 years, 5 months ago (2010-11-22 23:32:01 UTC) #11
nigeltao
I have many concerns about the basic efficiency of your implementation and general programming style ...
13 years, 5 months ago (2010-11-23 07:14:32 UTC) #12
mpl
Thanks for the comments, I'll work on them. There's one point I'm not sure about ...
13 years, 5 months ago (2010-11-23 10:49:37 UTC) #13
rsc
Regarding Nigel's comment about duplication, please pick one byte order - the most common one, ...
13 years, 5 months ago (2010-11-29 16:04:20 UTC) #14
mpl
I remember you already mentionned such a technique, so I thought about it for a ...
13 years, 5 months ago (2010-11-29 16:19:13 UTC) #15
rsc
On Mon, Nov 29, 2010 at 11:19, <mathieu.lonjaret@gmail.com> wrote: > I remember you already mentionned ...
13 years, 5 months ago (2010-11-29 17:04:36 UTC) #16
mpl
On Mon, Nov 29, 2010 at 6:04 PM, Russ Cox <rsc@golang.org> wrote: > The table ...
13 years, 5 months ago (2010-11-30 09:52:47 UTC) #17
rsc
Ah. You are saying that the MSB/LSB setting affects both the order in which bits ...
13 years, 5 months ago (2010-11-30 13:58:59 UTC) #18
mpl
Hello, Another question: when the writer is created with a wordsize (and hence a max ...
13 years, 3 months ago (2011-01-10 11:07:20 UTC) #19
rsc
> when the writer is created with a wordsize (and hence a max dictionary > ...
13 years, 3 months ago (2011-01-11 16:48:24 UTC) #20
mpl
On 2011/01/11 16:48:24, rsc wrote: > > when the writer is created with a wordsize ...
13 years, 3 months ago (2011-01-11 17:50:05 UTC) #21
rsc
13 years, 3 months ago (2011-01-19 19:56:36 UTC) #22
mpl
after some more reading, it seems like the original LZW used 12 bits words from ...
13 years, 3 months ago (2011-01-20 09:36:13 UTC) #23
nigeltao_gnome
On 20 January 2011 20:36, <mathieu.lonjaret@gmail.com> wrote: > after some more reading, it seems like ...
13 years, 3 months ago (2011-01-20 22:26:46 UTC) #24
mpl
Hello nigeltao_gnome, nigeltao (cc: golang-dev@googlegroups.com), Please take another look.
13 years, 2 months ago (2011-02-10 10:46:44 UTC) #25
mpl
On 2010/11/23 07:14:32, nigeltao wrote: > http://codereview.appspot.com/2510041/diff/32001/src/pkg/compress/lzw/reader.go > File src/pkg/compress/lzw/reader.go (right): > > http://codereview.appspot.com/2510041/diff/32001/src/pkg/compress/lzw/reader.go#newcode16 > ...
13 years, 2 months ago (2011-02-10 12:21:43 UTC) #26
mpl
Hello nigeltao_gnome, nigeltao (cc: golang-dev@googlegroups.com), Please take another look.
13 years, 2 months ago (2011-02-10 16:16:52 UTC) #27
nigeltao
http://codereview.appspot.com/2510041/diff/57001/src/pkg/compress/lzw/Makefile File src/pkg/compress/lzw/Makefile (right): http://codereview.appspot.com/2510041/diff/57001/src/pkg/compress/lzw/Makefile#newcode1 src/pkg/compress/lzw/Makefile:1: # Copyright 2010 The Go Authors. All rights reserved. ...
13 years, 2 months ago (2011-02-15 07:57:09 UTC) #28
nigeltao_gnome
After a bit of reading, it appears that both GIF and PDF use a maximum ...
13 years, 2 months ago (2011-02-15 11:56:01 UTC) #29
mpl
On 2011/02/15 11:56:01, nigeltao_gnome wrote: > After a bit of reading, it appears that both ...
13 years, 2 months ago (2011-02-15 13:45:44 UTC) #30
bsiegert
13 years, 2 months ago (2011-02-16 14:27:58 UTC) #31
On Tue, Feb 15, 2011 at 14:45,  <mathieu.lonjaret@gmail.com> wrote:
> On 2011/02/15 11:56:01, nigeltao_gnome wrote:
> This is especially true in that case since I don't see lzw being used
> for many things other than pdf and gif. (although I saw at least one
> audio format I think, I'll try to dig it back).

tiff! I am writing a tiff decoder, and I am waiting for the LZW
package to be added so that we will be able to read LZW-compressed
tiff images.

> http://codereview.appspot.com/2510041/

--Benny.

-- 
The first essential in chemistry is that you should perform practical
work and conduct experiments, for he who performs not practical work
nor makes experiments will never attain the least degree of mastery.
        -- Abu Musa Jabir ibn Hayyan (721-815)
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b