www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 15504] New: core.demangle uses exception handling for normal


          Issue ID: 15504
           Summary: core.demangle uses exception handling for normal
                    control flow
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: druntime
          Assignee: nobody puremagic.com
          Reporter: bugzilla digitalmars.com

Exceptions should only be used for exceptional conditions, like errors.
demangle is using them for normal control flow - this results in slow code
because the EH support is predicated on EH not being in the normal control


Jan 03 2016