swift
126f3e14
- stdlib: create optimal code for initializing a `Set` with an empty array literal
Go
Login via GitHub
Home
Pricing
FAQ
Install
Login
via GitHub
Commit
View On
GitHub
Commit
2 years ago
stdlib: create optimal code for initializing a `Set` with an empty array literal Always inline the empty-array-check of `Set.init(arrayLiteral:)`, because for array literal this check can always be constant folded. rdar://53509655
References
#62143 - Optimize empty Sets which are initialized with array literals
Author
eeckstein
Committer
eeckstein
Parents
079369f1
Loading