DIP56 Provide pragma to control function inlining

Dicebot public at dicebot.lv
Mon Feb 24 06:09:01 PST 2014


On Monday, 24 February 2014 at 02:05:31 UTC, Walter Bright wrote:
>     pragma(usage, often);
>     pragma(usage, rare);

This is also useful feature, especially when also applicable to 
if branches  (I have been using __builtin_expect quite a lot with 
GCC). But it is different, I think we need both.


More information about the Digitalmars-d mailing list