www.digitalmars.com         C & C++   DMDScript  

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

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 puremagic.com
          Reporter: b2.temp gmx.com

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

--
Aug 18 2020