(idx)
| 25492 | } |
| 25493 | var heap_next = heap.length; |
| 25494 | function dropObject(idx) { |
| 25495 | if (idx < 132) return; |
| 25496 | heap[idx] = heap_next; |
| 25497 | heap_next = idx; |
| 25498 | } |
| 25499 | function takeObject(idx) { |
| 25500 | const ret = getObject(idx); |
| 25501 | dropObject(idx); |