DIP 1006 - Preliminary Review Round 1

Walter Bright newshound2 at digitalmars.com
Mon Mar 5 10:30:12 UTC 2018


The idea behind removal of the runtime checks is as a performance optimization 
done on a debugged program. It's like turning on or off array bounds checking. 
Many leave asserts and array bounds checking on even in released code to ensure 
memory safety.

At a minimum, turning it off and on will illuminate just what the checks are 
costing you.

It's at the option of the programmer.


More information about the Digitalmars-d mailing list