Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for benchmarkCompareBytesBigBothUnaligned (0.2 sec)

  1. src/bytes/compare_test.go

    			b.Fatal("b1 != b2")
    		}
    	}
    	b.SetBytes(int64(len(b1[offset:])))
    }
    
    func BenchmarkCompareBytesBigBothUnaligned(b *testing.B) {
    	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)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jul 13 23:11:42 UTC 2023
    - 6.8K bytes
    - Viewed (0)
Back to top