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

Eliminate the allocation of single element arrays #33

Merged
merged 2 commits into from
Nov 17, 2023

Conversation

guoye-zhang
Copy link
Contributor

@guoye-zhang guoye-zhang commented Nov 15, 2023

Change HTTPFields subscripts internally to operate on sequences instead of arrays, so we could pass CollectionOfOne(field) instead of [field].

rdar://118214822

@guoye-zhang
Copy link
Contributor Author

@swift-ci test

@guoye-zhang guoye-zhang merged commit b4af788 into apple:main Nov 17, 2023
@guoye-zhang guoye-zhang deleted the fields-sequence branch November 17, 2023 07:37
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.

3 participants