perf(daemon): reduce commit collection from O(n^2) to O(n)

OTP 28 microbenchmarks, seven-sample medians: 32 commits took 2.54 to 1.38 us (1.8x faster), and 4,096 took 12.28 to 0.21 ms (58x faster). Order and positions stay intact; full test.sh passed.

0405d908 parent c970a11a +6 −6
browse files