fn batch_size(total_files: usize, threads: usize) -> usizeExpand description
Choose how many files to put in each batch: enough batches to keep every thread busy through the end of the run, but not so few files per batch that process startup dominates.