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

Cache values in VerifyingKey that can be computed on construction #607

Merged
merged 2 commits into from
Jun 22, 2022

Commits on Jun 22, 2022

  1. Cache the representative of VerifyingKey used in transcripts

    This means we only need to `Debug`-format the `PinnedVerificationKey`
    once on construction, instead of once per proof.
    str4d committed Jun 22, 2022
    Configuration menu
    Copy the full SHA
    4802936 View commit details
    Browse the repository at this point in the history
  2. Cache the constraint system degree in VerifyingKey

    This means we only compute the degree in a verification context during
    construction, instead of twice per proof in the permutation argument.
    str4d committed Jun 22, 2022
    Configuration menu
    Copy the full SHA
    05f37ee View commit details
    Browse the repository at this point in the history