--inline

bearophile bearophileHUGS at lycos.com
Mon Apr 16 06:33:39 PDT 2012


For interested people, there is a thread in D.learn that shows a 
missed inlining in DMD:
http://forum.dlang.org/thread/alnkynbdyddtrwpmfngr@forum.dlang.org

(After that manual inlining the D code is slower still than the 
same C++ code).

I think @forceinline is not necessary here, a more aggressive 
inliner seems enough.

Bye,
bearophile


More information about the Digitalmars-d mailing list