[Issue 16495] New: __traits(fullyQualifedName) instead of std.traits.fullyQualifiedName

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Thu Sep 15 01:09:57 PDT 2016


https://issues.dlang.org/show_bug.cgi?id=16495

          Issue ID: 16495
           Summary: __traits(fullyQualifedName) instead of
                    std.traits.fullyQualifiedName
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Windows
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: gooberman at gmail.com

std.traits.fullyQualifiedName has been identified as a significant slowdown
during compile time. The implementation does a whole ton of analysis to
reconstruct the requested name.

The compiler already has this information though. Implementing as a trait and
rewriting std.traits.fullyQualifiedName to use that will result in a solid
speed up of compile times.

--


More information about the Digitalmars-d-bugs mailing list