-
Notifications
You must be signed in to change notification settings - Fork 997
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
chore: use py-arkworks's multi-exp method inside of g1_lincomb
and g2_lincomb
#3714
chore: use py-arkworks's multi-exp method inside of g1_lincomb
and g2_lincomb
#3714
Conversation
733a255
to
640675f
Compare
Copying @hwwhww previous profiling information: |
Note that most of G1lincomb is spent deserializing -- we can likely also optimize this in the future with either an API change or just a batch deserialization method as the bottleneck in deserialisation is likely the sqrt |
Going to deduplicate the methods in bls.py |
g1_lincomb
and g2_lincomb
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm 🚀🚀🚀
Motivation for this PR is to reduce CI times. Switch from double-and-add to the bucket method.