Skip to main content

batch_size

Function batch_size 

Source
fn batch_size(total_files: usize, threads: usize) -> usize
Expand 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.