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

Reduce memory copies by directly writing / reading ByteBuf #6

Merged
merged 1 commit into from
Dec 7, 2023

Conversation

normanmaurer
Copy link
Member

Motivation:

We should just directly pass in ByteBuf instances to reduce memory copies when doing crypto.

Modifications:

Adjust APIs to use ByteBuf directly.

Result:

Reduce memory copies and also make API more consistent of the sender and receiver

Motivation:

We should just directly pass in ByteBuf instances to reduce memory copies when doing crypto.

Modifications:

Adjust APIs to use ByteBuf directly.

Result:

Reduce memory copies and also make API more consistent of the sender and receiver
@normanmaurer normanmaurer added this to the 0.0.1.Final milestone Dec 7, 2023
@normanmaurer normanmaurer merged commit a161540 into main Dec 7, 2023
5 checks passed
@normanmaurer normanmaurer deleted the buffer branch December 7, 2023 14:40
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