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

Core multiplexer writer can avoid bytes join on write #394

Open
bdraco opened this issue Mar 9, 2025 · 0 comments · May be fixed by #395
Open

Core multiplexer writer can avoid bytes join on write #394

bdraco opened this issue Mar 9, 2025 · 0 comments · May be fixed by #395

Comments

@bdraco
Copy link
Collaborator

bdraco commented Mar 9, 2025

self._writer.write(
encrypted_header + data if data_len else encrypted_header,
)

Py 3.11+ has a zero copy write implementation

@bdraco bdraco linked a pull request Mar 9, 2025 that will close this issue
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 a pull request may close this issue.

1 participant