MCPcopy Create free account
hub / github.com/dgraph-io/dgraph-benchmarks / BenchOptimal

Struct BenchOptimal

cachebench/ristretto/cache.go:41–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39}
40
41type BenchOptimal struct {
42 capacity uint64
43 hits map[string]uint64
44 access []string
45}
46
47func NewBenchOptimal(capacity int, track bool) Cache {
48 return &BenchOptimal{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected