We should deprecate -release

Zoadian no at no.no
Sun Jul 14 12:52:36 UTC 2024


On Saturday, 13 July 2024 at 16:48:29 UTC, Walter Bright wrote:
> 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!

then rename it to -benchmark.


More information about the Digitalmars-d mailing list