- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for BenchmarkCompareBytesBig (0.1 sec)
-
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()
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Jul 13 23:11:42 UTC 2023 - 6.8K bytes - Viewed (0)