(entry heapEntry)
| 56 | } |
| 57 | |
| 58 | func (h *indexedHeap) pushInternal(entry heapEntry) { |
| 59 | h.indices[entry.idx] = len(h.entries) |
| 60 | h.entries = append(h.entries, entry) |
| 61 | } |
| 62 | |
| 63 | // Returns index to track entry |
| 64 | func (h *indexedHeap) put(key string, exp uint64, bytes uint) int { |