MCPcopy Create free account
hub / github.com/CovenantSQL/CovenantSQL / BenchmarkByteAtOld

Function BenchmarkByteAtOld

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

Source from the content-addressed store, hash-verified

169}
170
171func BenchmarkByteAtOld(b *testing.B) {
172
173 bigint := MustParseBig256("0x18F8F8F1000111000110011100222004330052300000000000000000FEFCF3CC")
174 for i := 0; i < b.N; i++ {
175 PaddedBigBytes(bigint, 32)
176 }
177}
178
179func TestReadBits(t *testing.T) {
180 check := func(input string) {

Callers

nothing calls this directly

Calls 2

MustParseBig256Function · 0.85
PaddedBigBytesFunction · 0.85

Tested by

no test coverage detected