Idea : Expression Type
Vladimir Panteleev
thecybershadow at gmail.com
Fri Feb 2 03:18:53 PST 2007
On Fri, 02 Feb 2007 12:57:06 +0200, Don Clugston <dac at nospam.com.au> wrote:
> ???
> This has been part of the compiler for a very long time. There's no need
> for the inline keyword, just use the -inline compiler switch and it
> happens automatically.
> Or did I miss something?
AFAIK, even with -inline, the compiler doesn't automatically inline functions in certain circumstances - for example, if they contain loops. Sometimes it is critical for the functions to be inlined - out of performance or security (obfuscation) reasons.
Either way, what are the disadvantages of such inline functions compared to the discussed expression types?
--
Best regards,
Vladimir mailto:thecybershadow at gmail.com
More information about the Digitalmars-d
mailing list