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

Issue 69220046: code review 69220046: bufio: in Reader.WriteTo, try to use target's ReaderFrom (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 2 months ago by bradfitz
Modified:
10 years, 2 months ago
Reviewers:
gobot, gri, iant
CC:
golang-codereviews, iant, gri
Visibility:
Public.

Description

bufio: in Reader.WriteTo, try to use target's ReaderFrom This is the simple half of https://codereview.appspot.com/53560043/ with a new benchmark. pongad is in the C+A files already. benchmark old ns/op new ns/op delta BenchmarkReaderWriteToOptimal 2054 825 -59.83% Update Issue 6373

Patch Set 1 #

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

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

Total comments: 1

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -10 lines) Patch
M src/pkg/bufio/bufio.go View 1 1 chunk +6 lines, -0 lines 0 comments Download
M src/pkg/bufio/bufio_test.go View 1 2 3 2 chunks +23 lines, -10 lines 0 comments Download

Messages

Total messages: 7
bradfitz
Hello golang-codereviews@googlegroups.com, I'd like you to review this change to https://go.googlecode.com/hg/
10 years, 2 months ago (2014-02-27 07:53:18 UTC) #1
bradfitz
R=iant,gri,rsc? Who likes bufio? On Wed, Feb 26, 2014 at 11:53 PM, <bradfitz@golang.org> wrote: > ...
10 years, 2 months ago (2014-02-27 07:55:53 UTC) #2
iant
LGTM
10 years, 2 months ago (2014-02-27 17:50:14 UTC) #3
gri
I'll take it. - gri On Wed, Feb 26, 2014 at 11:55 PM, Brad Fitzpatrick ...
10 years, 2 months ago (2014-02-27 17:50:37 UTC) #4
gri
LGTM https://codereview.appspot.com/69220046/diff/40001/src/pkg/bufio/bufio_test.go File src/pkg/bufio/bufio_test.go (right): https://codereview.appspot.com/69220046/diff/40001/src/pkg/bufio/bufio_test.go#newcode1153 src/pkg/bufio/bufio_test.go:1153: b.Fatalf("Discard doesn't support ReaderFrom") this should probably be ...
10 years, 2 months ago (2014-02-27 18:32:51 UTC) #5
bradfitz
*** Submitted as https://code.google.com/p/go/source/detail?r=9d51d21e0ac6 *** bufio: in Reader.WriteTo, try to use target's ReaderFrom This is ...
10 years, 2 months ago (2014-02-27 18:48:40 UTC) #6
gobot
10 years, 2 months ago (2014-02-27 18:55:01 UTC) #7
Message was sent while issue was closed.
This CL appears to have broken the solaris-amd64-solaris11 builder.
Sign in to reply to this message.

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