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

Struct BenchFastCache

cachebench/ristretto/cache.go:280–284  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

278func (c *BenchBigCache) Close() {}
279
280type BenchFastCache struct {
281 cache *fastcache.Cache
282 log *policyLog
283 track bool
284}
285
286func NewBenchFastCache(capacity int, track bool) Cache {
287 // NOTE: if capacity is less than 32MB, then fastcache sets it to 32MB

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected