checkedint call removal

Timon Gehr via Digitalmars-d digitalmars-d at puremagic.com
Fri Aug 1 14:03:10 PDT 2014


On 08/01/2014 08:33 PM, Walter Bright wrote:
>
> The name came about as a result of my experience with newbies
> benchmarking my compilers and publishing the results. They'd spend 2 or
> 3 seconds scanning the documentation to figure out how to set up the
> compiler to generate the fastest code. -disableasserts is meaningless to
> them, and they won't use it, and the compiler would fare poorly.
> -release speaks to them "faster code", so they use that one.
>
> It's worked out well for that purpose.
> ...

Throw in -inline, -noboundscheck, -assumeasserts, -O, etc. and call the 
entire thing ...

-benchmark !

or ...

-fast !


> I would expect someone who spends more time developing code with the
> compiler to spend at least a little effort reading the two lines of
> documentation for -release and understanding that it disables the
> runtime assert checks.
> ...

Argh....

> I agree that the documentation can be improved.



More information about the Digitalmars-d mailing list