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.