www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 21030] New: Reduce template function instantiations related

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

          Issue ID: 21030
           Summary: Reduce template function instantiations related to
                    array equality
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: druntime
          Assignee: nobody puremagic.com
          Reporter: n8sh.secondary hotmail.com

IFTI creates sometimes-redundant distinct instances of __equals(T1, T2)(T1[]
lhs, T2[] rhs) since T1 and T2 are unqualified. Each instance also declares two
nested template functions at least one of which will be instantiated at least
once.

--
Jul 08 2020