On 3.8.2014 21:47, David Bregman wrote: > Walter has proposed a change to D's assert function as follows [1]: > "The compiler can make use of assert expressions to improve > optimization, even in -release mode."
Couldn't this new assert behaviour be introduced as a new optimization switch ? Say -Oassert ? It would be off by default and would work both in debug and release mode. -- mk