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

Remove buffer copies #11

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

sosthene-nitrokey
Copy link
Contributor

This removes the need to pass XfrBlocks as owned data in handle_transfer() It has a measureable impact on the speed of opgpcard status, reducing it by around 15ms on my devices.

It's still not that much relative to the total time of 800ms, but it's stable.

This removes the need to pass `XfrBlocks` as owned data in `handle_transfer()`
It has a measureable impact on the speed of `opgpcard status`, reducing it by around 15ms on my devices.

It's still not that much relative to the total time of 800ms, but it's stable.
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