| commit | 1255a6302d83148d41f78b7c7b49cacad8139bdc | [log] [tgz] |
|---|---|---|
| author | Rob Pike <r@golang.org> | Thu Jul 12 20:52:19 2012 -0700 |
| committer | Rob Pike <r@golang.org> | Thu Jul 12 20:52:19 2012 -0700 |
| tree | 4b996ef960bb422aedd4d90a2b31186965b465f2 | |
| parent | 1ca7bc268bd78551cd668df9a45b36769cd0172d [diff] |
bytes.Buffer: export the Grow method Allows a client to pre-allocate buffer space that is known to be necessary, avoiding expensive reallocations. R=gri, gri, adg CC=golang-dev https://golang.org/cl/6392061