(x any)
| 434 | } |
| 435 | |
| 436 | func (h *refreshMinHeap) Push(x any) { |
| 437 | item, ok := x.(*refreshHeapItem) |
| 438 | if !ok || item == nil { |
| 439 | return |
| 440 | } |
| 441 | item.index = len(*h) |
| 442 | *h = append(*h, item) |
| 443 | } |
| 444 | |
| 445 | func (h *refreshMinHeap) Pop() any { |
| 446 | old := *h |
no outgoing calls