Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SR-587] Move Array(count:repeatedValue:) to RangeReplaceableCollection #43204

Closed
gribozavr opened this issue Jan 20, 2016 · 3 comments
Closed
Labels
affects ABI Flag: Affects ABI feature A feature request or implementation good first issue Good for newcomers improvement standard library Area: Standard library umbrella

Comments

@gribozavr
Copy link
Collaborator

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.

@gribozavr
Copy link
Collaborator Author

This was done as a part of SE-0006.

init(repeating repeatedValue: Iterator.Element, count: Int)

@Moximillian
Copy link
Contributor

Hi, can you have a look at #1753 ? Did you guys clean that specific implementation in Array already?

@Moximillian
Copy link
Contributor

Ok, according to the PR comments the specific implementation is probably good to keep for performance.

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@AnthonyLatsis AnthonyLatsis added feature A feature request or implementation and removed API request labels Jan 27, 2023
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects ABI Flag: Affects ABI feature A feature request or implementation good first issue Good for newcomers improvement standard library Area: Standard library umbrella
Projects
None yet
Development

No branches or pull requests

3 participants