mirror of
https://github.com/deepseek-ai/deepseek-harness.git
synced 2026-11-09 20:07:43 +08:00
Each shift() re-slices the remaining array, so draining a large gather of wide bindings awaiting fd 3's drain was O(n^2). Reading by a head index into the array keeps the drain linear; the finally still discards everything.