We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b219d41 commit f529e23Copy full SHA for f529e23
stringbuilder_benchmark_test.go
@@ -35,7 +35,7 @@ func BenchmarkGoStringBuilderConcat(b *testing.B) {
35
}
36
37
func benchmarkStringBuilderConcat(text string, count int) string {
38
- s := &StringBuilder{}
+ s := NewStringBuilder(64)
39
for i := 0; i < count; i++ {
40
s.Append(text)
41
0 commit comments