D.gnu - always_inline and noinline
- jerro (3/3) Apr 20 2013 Is there any chance @attribute("always_inline") and
- Iain Buclaw (9/10) Apr 20 2013 @attribute("noinline") will be added to GDC? It would be nice to be able...
- jerro (4/7) Apr 20 2013 Personally, I'm fine with the names noinline and always_inline.
- Iain Buclaw (6/15) May 13 2013 And it's in:
- jerro (1/1) May 14 2013 Great!
Is there any chance attribute("always_inline") and attribute("noinline") will be added to GDC? It would be nice to be able to control inlining.
Apr 20 2013
On Apr 20, 2013 5:10 PM, "jerro" <a a.com> wrote:Is there any chance attribute("always_inline") andattribute("noinline") will be added to GDC? It would be nice to be able to control inlining. Can do. Now we are freed from the shackles of GCC attributes, we can give some of the attributes better or alternative names. Regards -- Iain Buclaw *(p < e ? p++ : p) = (c & 0x0f) + '0';
Apr 20 2013
Can do.That would be nice :)Now we are freed from the shackles of GCC attributes, we can give some of the attributes better or alternative names.Personally, I'm fine with the names noinline and always_inline. If you are looking for alternative names, one option would be to use forceinline instead of always_inline.
Apr 20 2013
On 20 April 2013 19:17, jerro <a a.com> wrote:Can do.And it's in: https://github.com/D-Programming-GDC/GDC/commit/3e16d4d7673e4b3b8750df8bc92ce853199a2e78 -- Iain Buclaw *(p < e ? p++ : p) = (c & 0x0f) + '0';That would be nice :) Now we are freed from the shackles of GCC attributes, we can give some ofthe attributes better or alternative names.Personally, I'm fine with the names noinline and always_inline. If you are looking for alternative names, one option would be to use forceinline instead of always_inline.
May 13 2013