- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for BenchmarkByteByteNoMatch (0.24 sec)
-
src/strings/replace_test.go
benchmarkSingleString(b, "b"+Repeat("a", 500), Repeat("a", 1002)) } func BenchmarkSingleMatch(b *testing.B) { benchmarkSingleString(b, "abcdef", Repeat("abcdefghijklmno", 1000)) } func BenchmarkByteByteNoMatch(b *testing.B) { str := Repeat("A", 100) + Repeat("B", 100) for i := 0; i < b.N; i++ { capitalLetters.Replace(str) } } func BenchmarkByteByteMatch(b *testing.B) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 24 22:53:05 UTC 2017 - 14.1K bytes - Viewed (0)