https://issues.dlang.org/show_bug.cgi?id=15504
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: [email protected]
Reporter: [email protected]
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
flow.
https://github.com/D-Programming-Language/druntime/blob/master/src/core/demangle.d
--