I'm having an odd experience with a new project, which is that LDC is producing (by some margin) the slowest-running executables. My normal experience has been that GDC produces the fastest, LDC comes in a close second and DMD-compiled executables run about half the speed of those compiled with GDC.
In this case, it's the LDC-compiled version that runs at half the speed of GDC-compiled, and DMD-compiled comes in the middle, with running speed moderately slower than GDC-compiled.
The only thing I can think of that makes this code different from others I've written in the past is that it makes extensive use of associative arrays. Is there any reason why this might be particularly problematic with LDC?
Thanks and best wishes,
-- Joe
The only thing I can think of that makes this code different from others I've written in the past is that it makes extensive use of associative arrays. Is there any reason why this might be particularly problematic with LDC?