| 39 | } |
| 40 | |
| 41 | type BenchOptimal struct { |
| 42 | capacity uint64 |
| 43 | hits map[string]uint64 |
| 44 | access []string |
| 45 | } |
| 46 | |
| 47 | func NewBenchOptimal(capacity int, track bool) Cache { |
| 48 | return &BenchOptimal{ |
nothing calls this directly
no outgoing calls
no test coverage detected