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

Avoid copying of the underlying array in AsyncBody#asArray #2923

Merged
merged 1 commit into from
Jun 21, 2024

Conversation

kyri-petrou
Copy link
Collaborator

Micro-optimization to avoid copying the underlying array when the user wants to extract the body as an Array[Byte]

@987Nabil 987Nabil merged commit 033ab36 into zio:main Jun 21, 2024
32 of 34 checks passed
@kyri-petrou kyri-petrou deleted the async-body-avoid-array-copy branch June 21, 2024 05:59
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