On exceptions in D

Adam D. Ruppe destructionator at gmail.com
Sun Feb 9 10:49:01 PST 2014


On Sunday, 9 February 2014 at 18:26:59 UTC, Benjamin Thaut wrote:
> The full stack trace is constructed lazy.

On Windows yes (though StackWalk64 is slow too, I see you or 
someone else has already fixed that on git), but on Linux it 
constructed the full string in the constructor!

I have a pull request pending some minor details to be worked out 
that will fix that. Gives a 20-80x improvement on thrown then 
caught exceptions without printing them.


More information about the Digitalmars-d mailing list