std.range.package unittest optimization