Optimization problem: bulk Boolean operations on vectors
Stefan Koch via Digitalmars-d
digitalmars-d at puremagic.com
Fri Dec 23 10:40:42 PST 2016
On Friday, 23 December 2016 at 18:33:52 UTC, Seb wrote:
> 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
This is indeed already done.
More information about the Digitalmars-d