Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for BenchmarkSplitNMultiByteSeparator (4.8 seconds)

  1. src/bytes/bytes_test.go

    	}
    }
    
    func BenchmarkSplitNSingleByteSeparator(b *testing.B) {
    	sep := []byte("/")
    	for i := 0; i < b.N; i++ {
    		SplitN(benchInputHard, sep, 10)
    	}
    }
    
    func BenchmarkSplitNMultiByteSeparator(b *testing.B) {
    	sep := []byte("hello")
    	for i := 0; i < b.N; i++ {
    		SplitN(benchInputHard, sep, 10)
    	}
    }
    
    func BenchmarkRepeat(b *testing.B) {
    	for i := 0; i < b.N; i++ {
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Mar 11 03:07:05 GMT 2026
    - 62.9K bytes
    - Click Count (0)
Back to Top