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.

Reply via email to