diff --git a/docs/go_performance.md b/docs/go_performance.md index 2f406ef..e645c67 100644 --- a/docs/go_performance.md +++ b/docs/go_performance.md @@ -1030,7 +1030,7 @@ func concatstrings(buf *tmpBuf, a []string) string { if count == 0 { return "" } -  + // If there is just one string and either it is not on the stack // or our result does not escape the calling frame (buf != nil), // then we can return that string directly.