File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -59,6 +59,9 @@ func concatstrings(buf *tmpBuf, a []string) string {
59
59
return s
60
60
}
61
61
62
+ // concatstring2 helps make the callsite smaller (compared to concatstrings),
63
+ // and we think this is currently more valuable than omitting one call in the
64
+ // chain, the same goes for concatstring{3,4,5}.
62
65
func concatstring2 (buf * tmpBuf , a0 , a1 string ) string {
63
66
return concatstrings (buf , []string {a0 , a1 })
64
67
}
@@ -108,6 +111,9 @@ func concatbytes(buf *tmpBuf, a []string) []byte {
108
111
return b
109
112
}
110
113
114
+ // concatbyte2 helps make the callsite smaller (compared to concatbytes),
115
+ // and we think this is currently more valuable than omitting one call in
116
+ // the chain, the same goes for concatbyte{3,4,5}.
111
117
func concatbyte2 (buf * tmpBuf , a0 , a1 string ) []byte {
112
118
return concatbytes (buf , []string {a0 , a1 })
113
119
}
You can’t perform that action at this time.
0 commit comments