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

Use get_total_balance for get_attestation_deltas #1139

Merged
merged 1 commit into from
Jun 5, 2019

Conversation

terencechain
Copy link
Contributor

I profiled process_epoch and I was able to reduce the processing time by 20% using 62536 validators with this simple change. I'm wondering if we should just fix it in the spec. Also feel free to close this if I violated readability >>> optimization rule 😅

@djrtwo djrtwo merged commit 1daff35 into ethereum:dev Jun 5, 2019
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.

2 participants