Open swift-ci opened 7 years ago
@bob-wilson, do you have the Radar for similar issues?
Yes. It's similar to rdar://problem/29616039, which we dup'ed to \rdar://problem/28680453\ Reduce code size for large struct copies. I'll associate that radar with this report.
Attachment: Download
Environment
Tested on Swift 3.0.1, 3.0.2 and recent 3.1 builds.Additional Detail from JIRA
| | | |------------------|-----------------| |Votes | 0 | |Component/s | Compiler | |Labels | Bug, Performance | |Assignee | shajrawi (JIRA) | |Priority | Medium | md5: 4d459fca9a167fd9de8798563b2c3987Issue Description:
The compiler takes a lot of time (minutes) to compile a file containing a relatively simple pair of nested Structs (see example): a Container Struct with \~100 properties of Element type. The compile time grows exponentially as more elements are added to the Element struct
The same is not happening with classes.