Nordlöw: > Does DMD currently avoid range checks in array slice > expressions such as > > f(x[0..$/2]) > f(x[$/2..$]) You have two simple ways to answer your question: try to go past the slices and look if D raises an error, and look at the asm produced with various compiler switches. Bye, bearophile