MCPcopy Index your code
hub / github.com/CovenantSQL/CovenantSQL / BenchmarkByteAt

Function BenchmarkByteAt

utils/big_test.go:164–169  ·  view source on GitHub ↗
(b *testing.B)

Source from the content-addressed store, hash-verified

162}
163
164func BenchmarkByteAt(b *testing.B) {
165 bigint := MustParseBig256("0x18F8F8F1000111000110011100222004330052300000000000000000FEFCF3CC")
166 for i := 0; i < b.N; i++ {
167 bigEndianByteAt(bigint, 15)
168 }
169}
170
171func BenchmarkByteAtOld(b *testing.B) {
172

Callers

nothing calls this directly

Calls 2

MustParseBig256Function · 0.85
bigEndianByteAtFunction · 0.85

Tested by

no test coverage detected