()
| 89 | } |
| 90 | |
| 91 | get size(): number { |
| 92 | const offset = this.#topKStart |
| 93 | const limit = this.#topKEnd - this.#topKStart |
| 94 | const available = this.#sortedValues.length - offset |
| 95 | return Math.max(0, Math.min(limit, available)) |
| 96 | } |
| 97 | |
| 98 | /** |
| 99 | * Moves the topK window |
nothing calls this directly
no outgoing calls
no test coverage detected