Descriptiongob: eliminate two more allocations in decode.
- just an oversight; we were reallocating a buffer.
- use unsafe to avoid allocating storage for a string twice.
Patch Set 1 #Patch Set 2 : diff -r 47d594612053 https://go.googlecode.com/hg/ #Patch Set 3 : diff -r d0821ccb1585 https://go.googlecode.com/hg/ #MessagesTotal messages: 3
|