Summary: Lazy evaluation of stack trace when exception is
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: druntime

--- Comment #0 from Alexander Demenshin <> 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:
------- You are receiving this mail because: -------

Reply via email to