Dne 19.2.2017 v 20:19 berni via Digitalmars-d-learn napsal(a):

Is it possible to force a function to be inlined?

Comparing a C++ and a D program, the main difference in speed (about 20-30%) is, because I manage to force g++ to inline a function while I do not find any means to do the same on D.
https://dlang.org/spec/pragma.html#inline

Reply via email to