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

Issue 4179041: code review 4179041: godoc: optimizations: don't call Write for 0-length data (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years, 1 month ago by gri
Modified:
13 years, 8 months ago
Reviewers:
CC:
r, golang-dev
Visibility:
Public.

Description

godoc: optimizations: don't call Write for 0-length data - guard some calls to Write that frequently may have 0-length data - fix an invariant

Patch Set 1 #

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

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

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

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -5 lines) Patch
M src/cmd/godoc/godoc.go View 4 chunks +15 lines, -5 lines 0 comments Download

Messages

Total messages: 3
gri
Hello r (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg/
14 years, 1 month ago (2011-02-09 22:41:43 UTC) #1
r
the new TODO seems unrelated but LGTM
14 years, 1 month ago (2011-02-09 22:57:10 UTC) #2
gri
14 years, 1 month ago (2011-02-09 23:06:08 UTC) #3
*** Submitted as http://code.google.com/p/go/source/detail?r=b9f61cedd3e5 ***

godoc: optimizations: don't call Write for 0-length data

- guard some calls to Write that frequently may have 0-length data
- fix an invariant

R=r
CC=golang-dev
http://codereview.appspot.com/4179041

Committer: Robert Griesemer <gri@golang.org>
Sign in to reply to this message.

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