- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for BenchmarkCompareBytesBig (0.16 seconds)
-
src/bytes/compare_test.go
for i := 0; i < 8; i++ { b.Run(fmt.Sprintf("offset=%d", i), func(b *testing.B) { benchmarkCompareBytesBigBothUnaligned(b, i) }) } } func BenchmarkCompareBytesBig(b *testing.B) { b.StopTimer() b1 := make([]byte, 0, 1<<20) for len(b1) < 1<<20 { b1 = append(b1, "Hello Gophers!"...) } b2 := append([]byte{}, b1...) b.StartTimer()Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Jul 13 23:11:42 GMT 2023 - 6.8K bytes - Click Count (0)