Reduce allocations when building strings.
authorrw <me@rwinslow.com>
Fri, 3 Apr 2015 01:22:13 +0000 (18:22 -0700)
committerrw <me@rwinslow.com>
Fri, 3 Apr 2015 01:22:13 +0000 (18:22 -0700)
commitace7fa8094de5ba92a74dce63903f8386d30e8b8
treea26057efec3e783c14517bf20827d222ba660d75
parentf02646e35757d80ee23d8fe6dde26756d1d86c8c
Reduce allocations when building strings.

Builder has a new CreateByteString function that writes a
null-terimnated byte slice to the buffer. This results in zero
allocations for writing strings.
go/builder.go
tests/GoTest.sh
tests/go_test.go