[Issue 9584] Exceptions in D are ludicrously slow (far worse than Java)

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Feb 7 11:24:14 PST 2014


https://d.puremagic.com/issues/show_bug.cgi?id=9584



--- Comment #12 from hsteoh at quickfur.ath.cx 2014-02-07 11:24:00 PST ---
(In reply to comment #11)
> I think traces could probably be done lazily.  A pointer to the stack top is
> available on throw, and all the code executed from that point should be above
> that, so the stack should be preserved.  It's worth a shot.

But wouldn't that be trashed by the stack unwinding? I mean, if a catch block
makes function calls before looking at the trace, wouldn't that scramble what
was there?

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list