pub fn section_repeat_groups(p: &SpatialProgram) -> Vec<(u64, Vec<usize>)>Expand description
Sections grouped by shape: (shape, the sections that have it), ordered by each group’s first
section so the answer is stable. The groups partition the sections.