Versioned std.exception.bailOut()?

Jacob Carlborg doob at me.com
Fri Jun 15 06:50:17 PDT 2012


On 2012-06-15 14:55, Kagamin wrote:
> On Friday, 15 June 2012 at 12:17:32 UTC, bearophile wrote:
>> Even if this version is not documented in Phobos docs (because the
>> inliner someday will be better), today it allows methods that must be
>> fast like Nullable.get() to be inlined (but I have not tested this),
>> regaining the lost performance.
>
> And how the assert helps with inlining?

Perhaps throwing an exception prevents inlining ?

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list