Skip to content

[Syntax] Rename the as conversion functions that incur existential conversions to asProtocol #183

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
Dec 4, 2019

Conversation

akyrtzi
Copy link
Contributor

@akyrtzi akyrtzi commented Dec 4, 2019

The intention is to make it clear in the API usage where existential conversion overhead exists,
allowing performance critical clients to eliminate use of existentials where possible.

Also add a note in README file to clarify that the API is designed with performance in mind.

…conversions to `asProtocol`

The intention is to make it clear in the API usage where existential conversion overhead exists,
allowing performance critical clients to eliminate use of existentials where possible.

Also add a note in README file to clarify that the API is designed with performance in mind.
@akyrtzi
Copy link
Contributor Author

akyrtzi commented Dec 4, 2019

swiftlang/swift-stress-tester#113
@swift-ci Please test

@akyrtzi akyrtzi merged commit d4caa56 into swiftlang:master Dec 4, 2019
@akyrtzi akyrtzi deleted the asprotocol-for-existentials branch December 4, 2019 22:36
adevress pushed a commit to adevress/swift-syntax that referenced this pull request Jan 14, 2024
Minor updates to `@differentiable`.
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