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

Return Bytes from GetResult.bytes() #134

Merged
merged 3 commits into from
Jan 14, 2025
Merged

Return Bytes from GetResult.bytes() #134

merged 3 commits into from
Jan 14, 2025

Conversation

kylebarron
Copy link
Member

@kylebarron kylebarron commented Jan 14, 2025

The buffer is already materialized on the Rust side. Avoid copying into a Python bytes unless/until the user wants to.

@kylebarron kylebarron merged commit 185bd05 into main Jan 14, 2025
4 checks passed
@kylebarron kylebarron deleted the kyle/zero-copy-bytes branch January 14, 2025 21:54
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.

1 participant