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: tweaks in iop/ kzg/ packages #361

Merged
merged 9 commits into from
Mar 22, 2023
Merged

perf: tweaks in iop/ kzg/ packages #361

merged 9 commits into from
Mar 22, 2023

Conversation

gbotrel
Copy link
Collaborator

@gbotrel gbotrel commented Mar 21, 2023

  • fft exposes Generator() method.
  • field.BatchInvert uses bitset instead of []bool
  • iop / kzg packages have some loops parallelized.

(context of this PR; plonk prover perf on 96cores)

return fr.Element{}, fmt.Errorf("m (%d) is too big: the required root of unity does not exist", m)
}

// Generator = FinerGenerator^2 has order x
Copy link
Contributor

Choose a reason for hiding this comment

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

Legacy comment I think, should delete it (now we use FrGenerator instead of FinerGenerator)

@gbotrel gbotrel merged commit fab4a57 into develop Mar 22, 2023
@gbotrel gbotrel deleted the perf/plonk branch March 22, 2023 19:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants