swift
swift copied to clipboard
[SR-587] Move Array(count:repeatedValue:) to RangeReplaceableCollection
| Previous ID | SR-587 |
| Radar | rdar://problem/24261095 |
| Original Reporter | @gribozavr |
| Type | Improvement |
| Status | Resolved |
| Resolution | Done |
Additional Detail from JIRA
| Votes | 0 |
| Component/s | Standard Library |
| Labels | Improvement, AffectsABI, NewAPIRequest, StarterBug |
| Assignee | None |
| Priority | Medium |
md5: a01a7e118c866f22c2aa25d04e9c3329
Issue Description:
Array has an initializer Array(count:repeatedValue:). It makes sense to move it to the RangeReplaceableCollection protocol.
This was done as a part of SE-0006.
Hi, can you have a look at https://github.com/apple/swift/pull/1753 ? Did you guys clean that specific implementation in Array already?
Ok, according to the PR comments the specific implementation is probably good to keep for performance.