Skip to content

Remove uses of private API (String._contiguousUTF8) #634

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

Merged
merged 1 commit into from
Sep 6, 2016

Conversation

gribozavr
Copy link
Contributor

I'm about to remove this API in swiftlang/swift#4631

I could avoid removing this API for now, but a rewrite of String is coming, so this use will have to be removed then.

@gribozavr
Copy link
Contributor Author

@ddunbar Could you review, please?

@gribozavr
Copy link
Contributor Author

@swift-ci Please test

@aciidgh
Copy link
Contributor

aciidgh commented Sep 6, 2016

👍

@gribozavr
Copy link
Contributor Author

gribozavr commented Sep 6, 2016

Linux builder error is unrelated.

@aciidb0mb3r Thanks for the review!

@gribozavr gribozavr merged commit b374d13 into master Sep 6, 2016
@gribozavr gribozavr deleted the remove-uses-of-private-API branch September 6, 2016 03:43
@ddunbar
Copy link
Contributor

ddunbar commented Sep 6, 2016

Can we leave some marker in the code that we no longer have a performant API to use here?

In my testing, using _contiguousUTF8 was really important for getting decent performance out of the places where we use Strings, and I am worried that if we just ditch it without a replacement we won't remember to update this again once a new performant API becomes available.

@moiseev
Copy link
Contributor

moiseev commented Sep 13, 2016

For tracking: #647

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.

4 participants