std.array.join optimisation

Line 1532 (old) 1570 (new)