- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for bmIndexByte (0.38 seconds)
-
src/bytes/bytes_test.go
benchBytes(b, indexSizes, bmIndexByte(IndexByte)) } // indexBytePortable use as the baseline for performance comparisons. 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)) }
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)