pub fn split_batch(
smiles: &[String],
n_workers: usize,
seed: u64,
) -> Vec<WorkerTask>Expand description
Split a batch of SMILES into N worker tasks.
smiles: all SMILES to process
n_workers: number of workers to distribute across
seed: RNG seed
Each chunk is capped at 10 000 SMILES to prevent unbounded memory allocation when few workers are requested for very large inputs.
Returns a vector of tasks, one per worker.