pub fn split_into_chunks(total: usize, n_chunks: usize) -> Vec<ChunkSpec>Expand description
Divide total elements into at most n_chunks contiguous chunks.
Returns a VecChunkSpeccovering[0, total)`. The last chunk absorbs
any remainder so that all elements are covered.