Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MergeIterator: allocate less memory at first
We were allocating 24x the number of streams of batches, where each batch holds up to 12 samples. By allowing `c.batches` to reallocate when needed, we avoid the need to pre-allocate enough memory for all possible scenarios. Signed-off-by: Bryan Boreham <[email protected]>
- Loading branch information