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.

Reply via email to