mirror of
https://github.com/deepseek-ai/deepseek-harness.git
synced 2026-12-01 02:01:04 -05: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.