[Issue 21173] New: dmd.traits.d should be O(1)

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Aug 18 11:29:13 UTC 2020


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

          Issue ID: 21173
           Summary: dmd.traits.d should be O(1)
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: b2.temp at gmx.com

The current implementation is a pile of test on identifiers. That should rather
use a switch or a table of methods.

--


More information about the Digitalmars-d-bugs mailing list