List of Phobos functions that allocate memory?

Walter Bright newshound2 at digitalmars.com
Fri Feb 7 11:42:21 PST 2014


On 2/7/2014 3:42 AM, Dicebot wrote:
> P.S. Throwing exception is not that slow in D, it is allocating new instance
> that makes a huge impact.

Throwing speed can vary greatly from platform to platform.

The idea, as in C++, is when there's a speed tradeoff between throw/catch speed 
and compromising speed to handle the possibility of exceptions, the non-throw 
case gets priority.


More information about the Digitalmars-d mailing list