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

Minor code readability improvements and micro-optimizations #2289

Merged
merged 3 commits into from
Jun 17, 2024

Conversation

kyri-petrou
Copy link
Collaborator

Most changes are ultra-micro optimizations to reduce allocations or to improve readability.

Also changed usages of ZIO.fail to Exit.fail in the QuickAdapter since ZIO.fail generates a (zio) stack-trace. Since we merge the value and error channels and map them to a Response, this is adding unnecessary overhead to failed requests

@kyri-petrou kyri-petrou merged commit c76e2f5 into series/2.x Jun 17, 2024
11 checks passed
@kyri-petrou kyri-petrou deleted the minor-code-readability-improvements branch June 17, 2024 06:33
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