DMD is slow for matrix maths?
David Nadlinger via Digitalmars-d
digitalmars-d at puremagic.com
Tue Oct 27 13:14:00 PDT 2015
On Tuesday, 27 October 2015 at 18:19:38 UTC, Etienne Cimon wrote:
> On Tuesday, 27 October 2015 at 18:18:36 UTC, Etienne Cimon
> wrote:
>> LDC couldn't inline it either. My only options at this point
>> is to write the assembly or link to a C library.
>
> Btw, DMD and LDC had similar performance.
This would be very strange in numerical code. Are you building
all the relevant modules at once, and with `ldc2 -singleobj` or
`ldmd` (which enables -singleobj by default)? LDC will not do
cross-module inlining otherwise.
— David
More information about the Digitalmars-d
mailing list