Skip to content

InitializationContext should be a value not reference type #219

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 3 commits into from
Aug 19, 2021

Conversation

fabianfett
Copy link
Member

Same treatment as #217 for InitializationContext. Since it is just a small struct, I didn't bother to create a CoW backing. Happy to do so, if wanted.

@fabianfett fabianfett requested a review from tomerd August 18, 2021 08:13
@tomerd
Copy link
Contributor

tomerd commented Aug 18, 2021

Since it is just a small struct, I didn't bother to create a CoW backing. Happy to do so, if wanted.

I think its only used once while initializing, so should not impact performance too much.

@fabianfett fabianfett added this to the 1.0.0-alpha.1 milestone Aug 19, 2021
@fabianfett fabianfett added the ⚠️ semver/major Breaks existing public API. label Aug 19, 2021
@fabianfett
Copy link
Member Author

@swift-server-bot test this please

@fabianfett fabianfett merged commit 782c0f3 into swift-server:main Aug 19, 2021
@fabianfett fabianfett deleted the ff-init-context-as-struct branch August 19, 2021 13:57
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
⚠️ semver/major Breaks existing public API.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants