force inline/not-inline
jerro
a at a.com
Sat Aug 24 12:13:48 PDT 2013
On Saturday, 17 March 2012 at 22:53:58 UTC, Manu wrote:
> I just started writing an emulator in D for some fun; I needed
> an
> application to case-study aggressive performance
> characteristics in
> hot-loop situations.
> I know this has come up time and time again, but I just want to
> put it out
> there again... if I were shipping this product, I would NEED
> forceinline +
> force-not-inline.
You could use GDC and @attribute("forceinline") and
@attribute("noinline"). But I agree it would be nice to have
something like that as a part of the language.
More information about the Digitalmars-d
mailing list