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

Move rkyv RPC support to use CRC32 checksums rather than checkbytes and use stack allocated scratch. #62

Merged
merged 4 commits into from
Sep 3, 2023

Conversation

ChillFish8
Copy link
Member

@ChillFish8 ChillFish8 commented Sep 3, 2023

This should improve the performance on smaller message payloads by cutting out lots of small allocations on the serializer side when messages require less than 1KB of scratch space.

  • We also move to checksum-based validation to ensure better data integrity not just layout and alignment.
  • DataView has also had its D (data holder) generic removed as it is completely unnecessary.
  • This allows users to use the RPC system without needing check bytes.

@ChillFish8 ChillFish8 merged commit 127e4a3 into main Sep 3, 2023
9 checks passed
@ChillFish8 ChillFish8 deleted the improve-rpc-performance branch September 3, 2023 14:44
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