version(noboundscheck) + friends

eles eles at eles.com
Tue Jun 4 00:30:07 PDT 2013


On Tuesday, 4 June 2013 at 07:19:52 UTC, Jonathan M Davis wrote:
> On Tuesday, June 04, 2013 09:14:28 eles wrote:
>> On Monday, 3 June 2013 at 22:19:23 UTC, Ali Çehreli wrote:
>> > On 06/03/2013 03:11 PM, Timothee Cour wrote:
> Nothing in the language checks for integer overflow, and given 
> the overhead
> that it would introduce, there's pretty much no way that it's 
> ever going to be
> added.

Just the same can be said about bounds checking. And those came 
into the language, however.

> Walter has been against it every time that it's come up.

Yes, even in the -debug mode. What I fail to see is why. The 
overhead will be there only if asked for, only in debug mode.


More information about the Digitalmars-d-learn mailing list