Descriptionbytes: avoid duplicate malloc/copy in Buffer.ReadString
Twice faster and twice less garbage.
Patch Set 1 #Patch Set 2 : diff -r 1b8c2fe167fc https://go.googlecode.com/hg/ #Patch Set 3 : diff -r 1b8c2fe167fc https://go.googlecode.com/hg/ #
Total comments: 1
Patch Set 4 : diff -r 1b8c2fe167fc https://go.googlecode.com/hg/ #
Total comments: 2
Patch Set 5 : diff -r 230e82a3bbf4 https://go.googlecode.com/hg/ #Patch Set 6 : diff -r 230e82a3bbf4 https://go.googlecode.com/hg/ #MessagesTotal messages: 10
|