[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 16:50:36 PST 2014


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



--- Comment #14 from hsteoh at quickfur.ath.cx 2014-02-07 16:50:27 PST ---
True, but at least we can lazily construct it as we unwind, so if the stack is
20 function calls deep and the catch block is only 5 functions up, then we
defer constructing 15 levels of call stack until the user asks for the trace.
Also, constructing the string representation of the trace can be deferred until
then, too, so expensive things like symbol lookups are avoided if nobody ever
looks at the trace.

-- 
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