this repo has no description

:sparkles: (Go) writing benchmark for iteration funcion

Changed files
+6
Go
iteration
+6
Go/iteration/repeat_test.go
··· 10 10 t.Errorf("expected %q but got %q", expected, repeated) 11 11 } 12 12 } 13 + 14 + func BenchmarkRepeat(b *testing.B) { 15 + for i := 0; i < b.N; i++ { 16 + Repeat("a") 17 + } 18 + }