]> Cypherpunks repositories - gostls13.git/commit
gc: make string x + y + z + ... + w efficient
authorRuss Cox <rsc@golang.org>
Sun, 12 Sep 2010 04:53:04 +0000 (00:53 -0400)
committerRuss Cox <rsc@golang.org>
Sun, 12 Sep 2010 04:53:04 +0000 (00:53 -0400)
commitf47d403cb48f669fe4a6c4ba6bcaaa33eb2e51af
tree9256ec31cdccbe154bded1cebd995ad3bab38c36
parent698fb4f192b92cee97c397672d4041108b33cc82
gc: make string x + y + z + ... + w efficient

1 malloc per concatenation.

R=ken2
CC=golang-dev
https://golang.org/cl/2124045
src/cmd/gc/builtin.c.boot
src/cmd/gc/runtime.go
src/cmd/gc/walk.c
src/pkg/runtime/runtime.h
src/pkg/runtime/string.goc