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.