]> Cypherpunks repositories - gostls13.git/commit
utf8.String: provide an Init method to avoid unnecessary allocation
authorRob Pike <r@golang.org>
Mon, 27 Sep 2010 19:06:29 +0000 (12:06 -0700)
committerRob Pike <r@golang.org>
Mon, 27 Sep 2010 19:06:29 +0000 (12:06 -0700)
commitb4e358d7e1d06f0d3e3ba5582e046c98c57e715d
tree6182b8e18be23a2bc6dff322afe9120f31744c44
parent2d5e732c545cb01bc59d4aa4f3ab27d298cf3f72
utf8.String: provide an Init method to avoid unnecessary allocation
when creating an array of Strings.

R=rsc
CC=golang-dev
https://golang.org/cl/2267046
src/pkg/utf8/string.go