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

Optimize ZPure#unit #1301

Merged
merged 1 commit into from
Apr 27, 2024
Merged

Optimize ZPure#unit #1301

merged 1 commit into from
Apr 27, 2024

Conversation

kyri-petrou
Copy link
Contributor

In #1274 the ZPure.unit method was optimized to avoid the allocation of a Succeed, but it seems that optimization isn't been used in the unit method of a ZPure instance

@kyri-petrou kyri-petrou requested a review from a team as a code owner April 27, 2024 04:52
@kyri-petrou kyri-petrou merged commit 1664a14 into zio:series/2.x Apr 27, 2024
20 checks passed
@kyri-petrou kyri-petrou deleted the optimize-unit branch April 27, 2024 05:41
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