pub fn calculate_task_parallelism( compact_task: &CompactTask, context: &CompactorContext, ) -> usize