FAQ
*** Submitted as
http://code.google.com/p/go/source/detail?r=d0ca00912d1c ***

bufio: Implement io.ReaderFrom for (*Writer).

This is part 2 of 2 for issue 4028.

benchmark old ns/op new ns/op delta
BenchmarkWriterCopyOptimal 53293 28326 -46.85%
BenchmarkWriterCopyUnoptimal 53757 30537 -43.19%
BenchmarkWriterCopyNoReadFrom 53192 36642 -31.11%

Fixes issue 4028.

R=nigeltao
CC=golang-dev
http://codereview.appspot.com/6565056

Committer: Nigel Tao <nigeltao@golang.org>


http://codereview.appspot.com/6565056/

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupgolang-dev @
categoriesgo
postedOct 19, '12 at 12:23a
activeOct 19, '12 at 2:02a
posts2
users1
websitegolang.org

1 user in discussion

Nigeltao: 2 posts

People

Translate

site design / logo © 2022 Grokbase