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: nob...@puremagic.com
        ReportedBy: aldem-dmdb...@nk7.net


--- Comment #0 from Alexander Demenshin <aldem-dmdb...@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: -------

Reply via email to