Optimization problem: bulk Boolean operations on vectors

Seb via Digitalmars-d digitalmars-d at puremagic.com
Fri Dec 23 10:33:52 PST 2016


On Friday, 23 December 2016 at 18:03:54 UTC, hardreset wrote:
> I get..
>
> 456ms for unconditional
> 505ms for conditional
> 268ms for assembler
>
> So the asm is about 40% faster than the best of the 
> alternatives. The point being that it's the generated code not 
> the source that's the problem.

Has anyone considered using ldc for DMD release compilations?

>  dmd -O -release -inline -run foo.d
138 ms, 603 μs, and 6 hnsecs

> ldmd -O -release -inline -run foo.d
84 ms and 719 μs


More information about the Digitalmars-d mailing list