- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for BenchmarkIndexByte (0.32 seconds)
-
src/bytes/bytes_test.go
} b.SetBytes(int64(n)) f(b, n) }) } } var indexSizes = []int{10, 32, 4 << 10, 4 << 20, 64 << 20} var isRaceBuilder = strings.HasSuffix(testenv.Builder(), "-race") func BenchmarkIndexByte(b *testing.B) { 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 {
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)