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

Combine packet length prepending and compressor #3766

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Janmm14
Copy link
Contributor

@Janmm14 Janmm14 commented Dec 7, 2024

so we can prepend compressed length after compression (leaving some bytes free at start of buffer)

This way we make more use of the not eliminatable "copy" during compression.

This has been shortly tested with and without cipher present and works.
No performance benchmark has been done.

This has not been tested with native impl. Edit: works as well with native impl

@Janmm14 Janmm14 force-pushed the combine-length-prepend-and-compress branch 2 times, most recently from aecf5fd to 8fe7107 Compare December 7, 2024 20:33
…mpressed length after compression (leaving some bytes free at start of buffer)
@Janmm14 Janmm14 force-pushed the combine-length-prepend-and-compress branch from 8fe7107 to b638dde Compare December 7, 2024 20:34
@Janmm14 Janmm14 force-pushed the combine-length-prepend-and-compress branch from 01d8304 to f12d512 Compare December 20, 2024 19:13
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