MCPcopy Create free account
hub / github.com/deroproject/derohe / Less

Method Less

walletapi/balance_decoder.go:57–57  ·  view source on GitHub ↗
(i, j int)

Source from the content-addressed store, hash-verified

55
56func (p PreComputeTable) Len() int { return len(p) }
57func (p PreComputeTable) Less(i, j int) bool { return p[i] < p[j] }
58func (p PreComputeTable) Swap(i, j int) { p[i], p[j] = p[j], p[i] }
59
60// with some more smartness table can be condensed more to contain 16.3% more entries within the same size

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected