Descriptionio.WriteString: if the object has a WriteString method, use it
This avoids allocation when writing to bytes.Buffers and bufio.Writers, for
example.
Patch Set 1 #Patch Set 2 : diff -r f06c1012f3a2 https://go.googlecode.com/hg/ #Patch Set 3 : diff -r f06c1012f3a2 https://go.googlecode.com/hg/ #Patch Set 4 : diff -r f06c1012f3a2 https://go.googlecode.com/hg/ #Patch Set 5 : diff -r f06c1012f3a2 https://go.googlecode.com/hg/ #
Total comments: 1
Patch Set 6 : diff -r f06c1012f3a2 https://go.googlecode.com/hg/ #Patch Set 7 : diff -r 6a2f3ca2f736 https://go.googlecode.com/hg/ #MessagesTotal messages: 16
|