Performance of exception handling
Sean Kelly
sean at invisibleduck.org
Tue Apr 26 09:14:05 PDT 2011
Right now, traces are generated on throw. It should be possible to generate them on catch instead. The performance would be the same either way however. It would be nice to generate them lazily but I don't think that's possible.
Sent from my iPhone
On Apr 26, 2011, at 6:20 AM, Daniel Gibson <metalcaedes at gmail.com> wrote:
> Am 26.04.2011 15:16, schrieb Alexander:
>> On 26.04.2011 15:13, Kagamin wrote:
>>
>>> Did you compare with c++ dwarf implementation?
>>
>> Yes, c++ is significantly faster. But it seems that my problem is solved already.
>>
>> /Alexander
>
> It'd be nice to have fast(er) exceptions and still be able to get
> backtraces for uncaught exceptions (or even for caught ones on demand).
>
> Cheers,
> - Daniel
More information about the Digitalmars-d
mailing list