Commit 903370e8 authored by Luke Sandberg's avatar Luke Sandberg

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.
parent 1c9577e3
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment