MCPcopy
hub / github.com/segmentio/ksuid / BenchmarkSub128

Function BenchmarkSub128

uint128_test.go:162–169  ·  view source on GitHub ↗
(b *testing.B)

Source from the content-addressed store, hash-verified

160}
161
162func BenchmarkSub128(b *testing.B) {
163 x := makeUint128(0, 0)
164 y := makeUint128(0, 0)
165
166 for i := 0; i != b.N; i++ {
167 sub128(x, y)
168 }
169}

Callers

nothing calls this directly

Calls 2

makeUint128Function · 0.85
sub128Function · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…