I have translated some simulation code from Java into D (a few
classes, mostly manipulation of double arrays in small methods).
D version runs 10-30% slower than Java (ldc2, dub release build).
Profiling did not show any obvious bottlenecks. I am wondering
whether I missed something, or such performance difference can be
expected. I read on this forum that marking methods final and
nothrow can help, but it didn't do much in my case. Is there
anything else I should be looking for?
In general, something like a wiki page with performance tips
would be very useful for D newcomers like me! :)
- General performance tips albert-j via Digitalmars-d-learn
- Re: General performance tips Stefan Koch via Digitalmars-d-learn
- Re: General performance tips albert-j via Digitalmars-d-learn
- Re: General performance t... sarn via Digitalmars-d-learn
- Re: General performance t... kinke via Digitalmars-d-learn