> Yes non-relase mode is slower, but we are probably talking > about a very significant slowdown here. A lot of integer math happens in > D.
What about testing only for user selected variables/types? > I think a much more effective fix for the language would be to make slice > length a signed type. Then you simply eliminate 99% of integer overflows > (it's very rare that a signed integer overflows, but not so unlikely that > an unsigned one does). I do not like that (Java-like) path too much. Why loosing half of length range?