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

Issue 4815068: code review 4815068: archive/zip: more efficient reader and bug fix (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 7 months ago by adg
Modified:
13 years, 7 months ago
Reviewers:
CC:
golang-dev, bradfitz
Visibility:
Public.

Description

archive/zip: more efficient reader and bug fix Fixes issue 2090.

Patch Set 1 #

Patch Set 2 : diff -r acae1d69e7a0 https://go.googlecode.com/hg/ #

Patch Set 3 : diff -r acae1d69e7a0 https://go.googlecode.com/hg/ #

Patch Set 4 : diff -r acae1d69e7a0 https://go.googlecode.com/hg/ #

Patch Set 5 : diff -r acae1d69e7a0 https://go.googlecode.com/hg/ #

Patch Set 6 : diff -r acae1d69e7a0 https://go.googlecode.com/hg/ #

Total comments: 10

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

Total comments: 2

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

Patch Set 9 : diff -r 9c32561a8704 https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+122 lines, -117 lines) Patch
M src/pkg/archive/zip/reader.go View 1 2 3 4 5 6 7 7 chunks +113 lines, -117 lines 0 comments Download
M src/pkg/archive/zip/reader_test.go View 1 2 chunks +6 lines, -0 lines 0 comments Download
M src/pkg/archive/zip/struct.go View 1 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 13
adg
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg/
13 years, 7 months ago (2011-07-28 23:59:04 UTC) #1
adg
Please hold off; changed my mnd.
13 years, 7 months ago (2011-07-29 00:07:15 UTC) #2
adg
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com), Please take another look.
13 years, 7 months ago (2011-07-29 00:23:31 UTC) #3
bradfitz
http://codereview.appspot.com/4815068/diff/11001/src/pkg/archive/zip/reader.go File src/pkg/archive/zip/reader.go (right): http://codereview.appspot.com/4815068/diff/11001/src/pkg/archive/zip/reader.go#newcode115 src/pkg/archive/zip/reader.go:115: // Open returns a ReadCloser that provides access to ...
13 years, 7 months ago (2011-07-29 01:46:04 UTC) #4
adg
http://codereview.appspot.com/4815068/diff/11001/src/pkg/archive/zip/reader.go File src/pkg/archive/zip/reader.go (right): http://codereview.appspot.com/4815068/diff/11001/src/pkg/archive/zip/reader.go#newcode115 src/pkg/archive/zip/reader.go:115: // Open returns a ReadCloser that provides access to ...
13 years, 7 months ago (2011-07-29 07:26:39 UTC) #5
bradfitz
http://codereview.appspot.com/4815068/diff/11001/src/pkg/archive/zip/reader.go File src/pkg/archive/zip/reader.go (right): http://codereview.appspot.com/4815068/diff/11001/src/pkg/archive/zip/reader.go#newcode168 src/pkg/archive/zip/reader.go:168: b := make([]byte, fileHeaderLen) On 2011/07/29 07:26:40, adg wrote: ...
13 years, 7 months ago (2011-07-29 07:42:42 UTC) #6
adg
On 29 July 2011 00:42, <bradfitz@golang.org> wrote: > Actually it doesn't help. The slice gets ...
13 years, 7 months ago (2011-07-29 08:10:20 UTC) #7
bradfitz
http://codereview.appspot.com/4815068/diff/12004/src/pkg/archive/zip/reader.go File src/pkg/archive/zip/reader.go (right): http://codereview.appspot.com/4815068/diff/12004/src/pkg/archive/zip/reader.go#newcode105 src/pkg/archive/zip/reader.go:105: return err is this guaranteed that err != nil ...
13 years, 7 months ago (2011-07-29 16:52:35 UTC) #8
adg
On 29 July 2011 09:52, <bradfitz@golang.org> wrote: > > http://codereview.appspot.com/4815068/diff/12004/src/pkg/archive/zip/reader.go > File src/pkg/archive/zip/reader.go (right): > ...
13 years, 7 months ago (2011-07-29 17:17:36 UTC) #9
adg
Hello golang-dev@googlegroups.com, bradfitz@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
13 years, 7 months ago (2011-07-29 17:24:57 UTC) #10
adg
I added some more comments, ptal.
13 years, 7 months ago (2011-07-29 17:25:22 UTC) #11
bradfitz
LGTM
13 years, 7 months ago (2011-07-29 17:43:54 UTC) #12
adg
13 years, 7 months ago (2011-07-29 17:47:04 UTC) #13
*** Submitted as http://code.google.com/p/go/source/detail?r=8e9b2c38619e ***

archive/zip: more efficient reader and bug fix

Fixes issue 2090.

R=golang-dev, bradfitz
CC=golang-dev
http://codereview.appspot.com/4815068
Sign in to reply to this message.

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