Skip to content

Remove buffer copies#11

Open
sosthene-nitrokey wants to merge 2 commits intotrussed-dev:mainfrom
sosthene-nitrokey:packet-ref
Open

Remove buffer copies#11
sosthene-nitrokey wants to merge 2 commits intotrussed-dev:mainfrom
sosthene-nitrokey:packet-ref

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