Descriptionbufio: 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.
Patch Set 1 #Patch Set 2 : diff -r 8e69b6243f49 https://code.google.com/p/go/ #Patch Set 3 : diff -r 8e69b6243f49 https://code.google.com/p/go/ #
Total comments: 4
Patch Set 4 : diff -r 8e69b6243f49 https://code.google.com/p/go/ #
Total comments: 5
Patch Set 5 : diff -r 9b2c48c9d597 https://code.google.com/p/go/ #
Total comments: 1
Patch Set 6 : diff -r 9b2c48c9d597 https://code.google.com/p/go/ #MessagesTotal messages: 12
|