Eigenpoll : D wish list : Overlapping array copy Permit the following:
t[0..n] = t[k .. n+k];
The docs argue that prohibiting this allows for more efficient code, but the compiler should be able to see that this is an overlapping copy and do the right thing.
If the compiler cannot that the array is the same, then still allow it to assume the arrays don't overlap.
Report this item for cleanup