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

perf: optimize Misc.compute_committee a bit #515

Merged
merged 3 commits into from
Dec 12, 2023

Conversation

MegaRedHand
Copy link
Collaborator

This reduces the time of process_attestation by ~0.5s (~30%)

This reduces the time of `process_attestation` by ~0.5s (~30%)
@MegaRedHand MegaRedHand requested a review from a team as a code owner December 11, 2023 21:41
Copy link
Collaborator

@Arkenan Arkenan left a comment

Choose a reason for hiding this comment

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

This PR looks great! We only need to take the case where compute_shuffled_index fails into account.

@MegaRedHand MegaRedHand merged commit d3485bc into main Dec 12, 2023
9 checks passed
@MegaRedHand MegaRedHand deleted the optimize-process_attestations branch December 12, 2023 17:13
h3lio5 pushed a commit to h3lio5/lambda_ethereum_consensus that referenced this pull request Jan 5, 2024
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