- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for BenchmarkSplitEmptySeparator (0.43 sec)
-
src/strings/strings_test.go
b.SetBytes(int64(j)) data := sd.data[:j] for i := 0; i < b.N; i++ { FieldsFunc(data, unicode.IsSpace) } }) } }) } } 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++ {
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 BenchmarkCountHard2(b *testing.B) { benchmarkCountHard(b, []byte("</pre>")) } func BenchmarkCountHard3(b *testing.B) { benchmarkCountHard(b, []byte("<b>hello world</b>")) } 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++ {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 12:58:37 UTC 2024 - 56.5K bytes - Viewed (0)