Descriptionbufio: 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/ #
MessagesTotal messages: 7
|