pub fn peak_concurrency(tasks: &[Interval]) -> usizeExpand description
The peak number of tasks active simultaneously — the interval graph’s clique number / chromatic number, i.e. the fewest machines (or registers) that suffice. One sweep, O(n log n).