Is the following well defined and allowed?
Steven Schveighoffer
schveiguy at yahoo.com
Fri Mar 2 14:29:21 UTC 2018
On 3/2/18 3:36 AM, Daniel Kozak wrote:
> I do not know, but from my experience it is good at it. I have done many
> benchmarks for plenty of code, and in recent D
> compilers -boundscheck=off does not improve speed. To be fair
> using -boundscheck=off make D code slower in many cases, which is wierd
> but true.
If you are doing -release, then -boundscheck=off is redundant except for
@safe code.
-Steve
More information about the Digitalmars-d
mailing list