We should deprecate -release

Walter Bright newshound2 at digitalmars.com
Sat Jul 13 16:48:29 UTC 2024


On 7/13/2024 8:28 AM, Vladimir Panteleev wrote:
> It's equivalent to `-check=invariant=off -check=in=off -check=out=off 
> -check=bounds=safeonly -check=assert=off -check=switch=off` (and what Nicholas 
> pointed out).
> 
> `-O` and `-inline` are orthogonal to `-release` (and to each other).


Hmm, checking the actual implementation, you're right. Someone must have changed 
it at some point. -release is supposed to be "fastest code". Need to fix that!


More information about the Digitalmars-d mailing list