Skip to content

[4.2][4/30][String] Define _copyContents for UTF8View #16352

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

Conversation

milseman
Copy link
Member

@milseman milseman commented May 3, 2018

Define _copyContents on String.UTF8View, which allows it to
efficiently memcpy bytes when the String is already in UTF-8 (or
ASCII).

4/30 cherry-pick of #16313

Define _copyContents on String.UTF8View, which allows it to
efficiently memcpy bytes when the String is already in UTF-8 (or
ASCII).
@milseman
Copy link
Member Author

milseman commented May 3, 2018

@swift-ci please test

@milseman milseman requested a review from airspeedswift May 3, 2018 20:30
@milseman milseman changed the title [String] Define _copyContents for UTF8View [4.2][4/30][String] Define _copyContents for UTF8View May 3, 2018
@milseman milseman merged commit af06879 into swiftlang:swift-4.2-branch-04-30-2018 May 3, 2018
@milseman milseman deleted the 4_2_30_contents_copied branch May 3, 2018 23:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants