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