commit | b1c4a8efa998e0d6b6eb423ad441b349968233be | [log] [tgz] |
---|---|---|
author | Rémy Oudompheng <oudomphe@phare.normalesup.org> | Mon Dec 03 14:04:18 2012 +0100 |
committer | Rémy Oudompheng <oudomphe@phare.normalesup.org> | Mon Dec 03 14:04:18 2012 +0100 |
tree | 0860cf288a732e5f76f330b3bbbc4f07b5e7a14b | |
parent | bcea0dd1d0d41c5cf503c87e86460cd34dbc7dfb [diff] |
bytes: avoid duplicate malloc/copy in Buffer.ReadString Twice faster and twice less garbage. R=golang-dev, dave, daniel.morsing, bradfitz CC=golang-dev https://golang.org/cl/6849128