[Issue 17719] New: compiler generates code for CTFE-only templates
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Thu Aug 3 13:59:08 PDT 2017
https://issues.dlang.org/show_bug.cgi?id=17719
Issue ID: 17719
Summary: compiler generates code for CTFE-only templates
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P1
Component: dmd
Assignee: nobody at puremagic.com
Reporter: code at dawg.eu
Quite a few template functions that are only used as CTFE helpers end up in
final binaries, unnecessarily slowing down compilation and blowing up object
sizes.
Would be great if we could dismiss any instantions that are not used during
runtime.
--
More information about the Digitalmars-d-bugs
mailing list