[Issue 5892] New: Lazy evaluation of stack trace when exception is thrown
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Apr 26 07:36:27 PDT 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5892
Summary: Lazy evaluation of stack trace when exception is
thrown
Product: D
Version: D2
Platform: Other
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: druntime
AssignedTo: nobody at puremagic.com
ReportedBy: aldem-dmdbugs at nk7.net
--- Comment #0 from Alexander Demenshin <aldem-dmdbugs at nk7.net> 2011-04-26 07:32:45 PDT ---
Currently, on every throw statement, traceHandler is invoked, which
significantly slows down exception handling.
It would be nice to invoke traceHandler only if there is no user-defined catch
specified (if there is one, stack-trace is not [or rarely] used, AFAIK).
This should improve exception handling performance drastically (more than 1000x
in my test).
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list