Bug 21030 – Reduce template function instantiations related to array equality
Status
RESOLVED
Resolution
FIXED
Severity
enhancement
Priority
P1
Component
druntime
Product
D
Version
D2
Platform
All
OS
All
Creation time
2020-07-08T15:08:40Z
Last change time
2020-09-11T13:56:15Z
Keywords
pull
Assigned to
No Owner
Creator
Nathan S.
Comments
Comment #0 by n8sh.secondary — 2020-07-08T15:08:40Z
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 by dlang-bot — 2020-07-08T16:01:17Z
@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 by dlang-bot — 2020-09-11T13:56:15Z
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