backtrace_symbols should be called only when exception thrown

Timothee Cour thelastmammoth at gmail.com
Sun Sep 22 21:47:38 PDT 2013


in src/druntime/src/core/runtime.d, backtrace_symbols is called in
DefaultTraceInfo constructor.
Shouldn't it be called only when exception is thrown, to speed up the case
when the exception is not thrown?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20130922/e7bc1741/attachment.html>


More information about the Digitalmars-d-learn mailing list