We should deprecate -release
Guillaume Piolat
first.name at gmail.com
Sun Jul 14 15:36:28 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!
I honestly don't really care if -release exists or does the right
thing, as long as
dub -b release-nobounds gives me the (reasonably) fastest
possible thing
More information about the Digitalmars-d
mailing list