- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for BenchmarkSplitSingleByteSeparator (0.49 sec)
-
src/strings/strings_test.go
} }) } }) } } func BenchmarkSplitEmptySeparator(b *testing.B) { for i := 0; i < b.N; i++ { Split(benchInputHard, "") } } func BenchmarkSplitSingleByteSeparator(b *testing.B) { for i := 0; i < b.N; i++ { Split(benchInputHard, "/") } } func BenchmarkSplitMultiByteSeparator(b *testing.B) { for i := 0; i < b.N; i++ {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 12:58:37 UTC 2024 - 53K bytes - Viewed (0) -
src/bytes/bytes_test.go
func BenchmarkSplitEmptySeparator(b *testing.B) { for i := 0; i < b.N; i++ { Split(benchInputHard, nil) } } func BenchmarkSplitSingleByteSeparator(b *testing.B) { sep := []byte("/") for i := 0; i < b.N; i++ { Split(benchInputHard, sep) } } func BenchmarkSplitMultiByteSeparator(b *testing.B) { sep := []byte("hello")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 12:58:37 UTC 2024 - 56.5K bytes - Viewed (0)