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-7575] [String] Define _copyContents for all String structures #50117

Open
milseman mannequin opened this issue May 1, 2018 · 1 comment
Open

[SR-7575] [String] Define _copyContents for all String structures #50117

milseman mannequin opened this issue May 1, 2018 · 1 comment
Assignees
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. performance standard library Area: Standard library umbrella

Comments

@milseman
Copy link
Mannequin

milseman mannequin commented May 1, 2018

Previous ID SR-7575
Radar rdar://problem/39855318
Original Reporter @milseman
Type Bug
Additional Detail from JIRA
Votes 0
Component/s Standard Library
Labels Bug, Performance
Assignee @milseman
Priority Medium

md5: fc3070b098d8686d546ab29349e1bcef

Issue Description:

Defining _copyContents can make a huge performance improvement when appending to an Array or UBP. We should define _copyContents for all String views and structures.

Ideally, we'd unify many of the views and use a simple visitor invocation

@milseman
Copy link
Mannequin Author

milseman mannequin commented May 1, 2018

@swift-ci create

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. performance standard library Area: Standard library umbrella
Projects
None yet
Development

No branches or pull requests

0 participants