Extract production chunk merge algorithm into testable merge.rs module
Refactor the production chunking algorithm to separate the pure merge logic from Vc/async-dependent code. The new merge.rs module contains the core merge algorithm operating on simple indices and RoaringBitmaps instead of Vc types, making it unit-testable without the turbo-tasks runtime. production.rs now delegates to merge_grouped_chunks() and maps results back to Vc types. Includes unit tests covering near-duplicate modules, layout nesting, deep nesting, input order stability, and the no-merge fast path.
Showing
This diff is collapsed.
Please
register
or
sign in
to comment