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

Issue 4551057: code review 4551057: image/gif: simplify blockReader.Read. (Closed)

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

Description

image/gif: simplify blockReader.Read. Inverting the tests avoids recursion and simplifies the flow.

Patch Set 1 #

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

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -19 lines) Patch
M src/pkg/image/gif/reader.go View 1 1 chunk +17 lines, -19 lines 0 comments Download

Messages

Total messages: 4
r
Hello nigeltao (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg/
13 years, 11 months ago (2011-05-23 05:15:53 UTC) #1
r
Hello nigeltao@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
13 years, 11 months ago (2011-05-24 00:02:40 UTC) #2
nigeltao
LGTM.
13 years, 11 months ago (2011-05-24 00:55:22 UTC) #3
r
13 years, 11 months ago (2011-05-24 01:02:51 UTC) #4
*** Submitted as http://code.google.com/p/go/source/detail?r=2d3e41aeb1b3 ***

image/gif: simplify blockReader.Read.
Inverting the tests avoids recursion and simplifies the flow.

R=nigeltao
CC=golang-dev
http://codereview.appspot.com/4551057
Sign in to reply to this message.

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