D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 21030 - Reduce template function instantiations related to array equality
Summary: Reduce template function instantiations related to array equality
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: druntime (show other issues)
Version: D2
Hardware: All All
: P1 enhancement
Assignee: No Owner
URL:
Keywords: pull
Depends on:
Blocks:
 
Reported: 2020-07-08 15:08 UTC by Nathan S.
Modified: 2020-09-11 13:56 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Nathan S. 2020-07-08 15:08:40 UTC
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.
Comment 1 Dlang Bot 2020-07-08 16:01:17 UTC
@n8sh created dlang/druntime pull request #3152 "Reduce template function instantiations related to array equality" fixing this issue:

- Fix Issue 21030 - Reduce template function instantiations related to array equality

https://github.com/dlang/druntime/pull/3152
Comment 2 Dlang Bot 2020-09-11 13:56:15 UTC
dlang/druntime pull request #3152 "Reduce template function instantiations related to array equality" was merged into master:

- c9412dc3aadb08a26cb71aec9ec022629845bc57 by Nathan Sashihara:
  Fix Issue 21030 - Reduce template function instantiations related to array equality

https://github.com/dlang/druntime/pull/3152