[SR-10253] Type checker takes a very long time for tuple array #52653
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
performance
type checker
Area → compiler: Semantic analysis
Attachment: Download
Environment
Xcode 10.2, macOS 10.14.4 (18E226), Swift 5
Additional Detail from JIRA
md5: 837d8a515bbce96883d9d71a5c26b581
Issue Description:
This code takes between 15 and 25❗ seconds to type-check in the production app.
A simplified test-project is attached.
Of course it is easy to mitigate by just using a simple struct.
The text was updated successfully, but these errors were encountered: