benchmark on binary trees

anonymous via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Dec 4 15:28:06 PST 2015


On 04.12.2015 15:06, Alex wrote:
> 3. The compilation was done by:
> dmd -O -release -boundscheck=off [filename.d]
> Is there anything else to improve performance significantly?

You forgot -inline.

By the way, I'm not a fan of using -boundscheck=off like a general 
optimization flag. It undermines @safe, and as the documentation says, 
it should be used with caution.

http://dlang.org/dmd-windows.html#switch-boundscheck


More information about the Digitalmars-d-learn mailing list