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

Compact key matrix scan result serialization #16

Merged
merged 1 commit into from
Sep 2, 2024

Conversation

daystram
Copy link
Owner

@daystram daystram commented Sep 1, 2024

Implement a more compact key matrix scan result serialization. This bit packing assumes that Bit can be represented as 3 bits, thus allowing 3 bytes per 8 Bits.

The changes introduced here reduces the packet size from 88 bytes to 26 bytes (70.5% reduction) on Quadax Rift (35 keys on each side).

@daystram daystram self-assigned this Sep 1, 2024
Base automatically changed from feat/split to main September 2, 2024 13:43
@daystram daystram merged commit 5eb1a9e into main Sep 2, 2024
8 checks passed
@daystram daystram deleted the fix/compact-key-matrix-transport branch September 2, 2024 13:45
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