MCPcopy Create free account
hub / github.com/TheAlgorithms/Go / BenchmarkMeanUsingAndXor

Function BenchmarkMeanUsingAndXor

math/binary/arithmeticmean_test.go:55–59  ·  view source on GitHub ↗
(b *testing.B)

Source from the content-addressed store, hash-verified

53 return tests
54}
55func BenchmarkMeanUsingAndXor(b *testing.B) {
56 for i := 0; i < b.N; i++ {
57 MeanUsingAndXor(222, 888)
58 }
59}
60
61func BenchmarkMeanUsingRightShift(b *testing.B) {
62 for i := 0; i < b.N; i++ {

Callers

nothing calls this directly

Calls 1

MeanUsingAndXorFunction · 0.85

Tested by

no test coverage detected