- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for BenchmarkIndexBytePortable (0.35 seconds)
-
src/bytes/bytes_test.go
func indexBytePortable(s []byte, c byte) int { for i, b := range s { if b == c { return i } } return -1 } func BenchmarkIndexBytePortable(b *testing.B) { benchBytes(b, indexSizes, bmIndexByte(indexBytePortable)) } func bmIndexByte(index func([]byte, byte) int) func(b *testing.B, n int) { return func(b *testing.B, n int) {
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)