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

Add parallelism to BatchHeader and Committee deserialization #2395

Merged
merged 3 commits into from
Mar 20, 2024

Conversation

raychu86
Copy link
Contributor

Motivation

This PR optimizes the deserialization of BatchHeader and Committee by first reading the fixed number of bytes required for the subcomponents, then deserializes them in parallel.

Issue: https://github.com/AleoHQ/snarkVM/issues/2393

Related PRs

Related to https://github.com/AleoHQ/snarkVM/pull/2258.

@raychu86 raychu86 requested a review from ljedrz March 14, 2024 18:48
@howardwu
Copy link
Contributor

@ljedrz can you make this even faster than what Ray proposed? thanks!

Copy link
Collaborator

@ljedrz ljedrz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@howardwu no, it looks as fast as it can be already 👍

@howardwu howardwu merged commit e9d5f8f into mainnet-staging Mar 20, 2024
78 checks passed
@howardwu howardwu deleted the optimize-deserialize branch March 20, 2024 15:01
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.

3 participants