Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for BenchmarkSplitSeqSingleByteSeparator (0.24 sec)

  1. src/bytes/iter_test.go

    package bytes_test
    
    import (
    	. "bytes"
    	"testing"
    )
    
    func BenchmarkSplitSeqEmptySeparator(b *testing.B) {
    	for range b.N {
    		for range SplitSeq(benchInputHard, nil) {
    		}
    	}
    }
    
    func BenchmarkSplitSeqSingleByteSeparator(b *testing.B) {
    	sep := []byte("/")
    	for range b.N {
    		for range SplitSeq(benchInputHard, sep) {
    		}
    	}
    }
    
    func BenchmarkSplitSeqMultiByteSeparator(b *testing.B) {
    	sep := []byte("hello")
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue May 06 02:08:23 UTC 2025
    - 1.1K bytes
    - Viewed (0)
Back to top