fn blockSwap(comptime T: type, items: []T, start1: usize, start2: usize, block_size: usize) void
fn blockSwap(comptime T: type, items: []T, start1: usize, start2: usize, block_size: usize) void { var index: usize = 0; while (index < block_size) : (index += 1) { mem.swap(T, &items[start1 + index], &items[start2 + index]); } }