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

Feature request: fast pippenger MSM algorithm as in barretenberg #380

Open
imeckler opened this issue Jan 13, 2022 · 2 comments
Open

Feature request: fast pippenger MSM algorithm as in barretenberg #380

imeckler opened this issue Jan 13, 2022 · 2 comments

Comments

@imeckler
Copy link

imeckler commented Jan 13, 2022

The barretenberg library implements a version of the pippinger algorithm that combines the two techniques of batch affine operations and the use of a curve-endomorphism (for fields that have a cube root of unity) to obtain a significant speedup on the straightforward implementation of the pippinger algorithm. It would be great if this algorithm were present in arkworks.

@imeckler
Copy link
Author

imeckler commented Jan 13, 2022

Oh sorry -- saw there is an existing issue and an implementation by @jon-chuang. Reading this, it seems there was a 1.4x - 1.7x improvement.

@weikengchen
Copy link
Member

I think we will be following on this recently. I looked at the existing MSM algorithm and had the feeling that it only implements part of the Pippenger, and there is a high likelihood that it can be improved.

By the way, fantastic work in showing the strength of pairing-based SNARK in Kimchi.

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

No branches or pull requests

2 participants