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

opt: speed up unsafe_setup #63

Merged

Conversation

lispc
Copy link

@lispc lispc commented Apr 15, 2022

since we know s here, we don't need to do ifft. Directly computing lagranges is much faster.

for k = 16, reduce setup time from 40s to 4s

@lispc lispc mentioned this pull request Apr 27, 2022
Copy link
Member

@CPerezz CPerezz left a comment

Choose a reason for hiding this comment

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

Just wondering about the inversion.

The rest makes sense.

halo2_proofs/src/poly/commitment.rs Outdated Show resolved Hide resolved
Copy link
Member

@CPerezz CPerezz left a comment

Choose a reason for hiding this comment

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

LGTM!

Thanks!!!

@CPerezz CPerezz merged commit d0489c7 into privacy-scaling-explorations:main May 3, 2022
@lispc lispc deleted the opt/commit_setup branch May 6, 2022 06:44
mratsim pushed a commit to taikoxyz/halo2 that referenced this pull request Jan 16, 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.

2 participants