Dwarf Exception Handling question
deadalnix via Digitalmars-d
digitalmars-d at puremagic.com
Mon Nov 23 18:15:42 PST 2015
On Monday, 23 November 2015 at 21:38:39 UTC, Walter Bright wrote:
> On 11/23/2015 1:32 PM, deadalnix wrote:
>> On Monday, 23 November 2015 at 21:05:29 UTC, Walter Bright
>> wrote:
>>> dmd rewrites try-catch-finally into try-{try-catch}-finally,
>>> which makes it
>>> easier to generate code, because fewer special cases and
>>> fewer bugs. I've
>>> become a big fan of that technique :-)
>>
>> Wouldn't that makes unwinding slower because one need to go
>> through several
>> landing pads ?
>>
>
> Yes. But if you're choked by unwinding speed, you're doing it
> wrong.
I don't think this is a good reason for making it twice as slow :)
More information about the Digitalmars-d
mailing list