Clean up style batching: FxIndexSet for O(1) lookups, simplify batch tracking
- Replace new_batch_ordered Vec + new_batch_set HashSet with a single
FxIndexSet that provides both insertion order and O(1) membership.
- Change chunk_group_styles from Vec<Vec<usize>> to Vec<FxIndexSet<usize>>
to restore O(1) position lookups via get_index_of() (was O(n) linear
scan after the algorithm extraction).
- Remove numbered prefixes from test comments, leaving descriptions only.
Co-Authored-By:
Claude <noreply@anthropic.com>
Showing
Please
register
or
sign in
to comment