-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Do not duplicate R1CS instance in ProverKey The R1CSShape object was being stored in both the implementation of the RelaxedR1CSSNARKTrait's ProverKey and the Spartan SNARK's ProverKey. Now we store it once in the top level object (RelaxedR1CSSNARKTrait) and pass it to the Spartan implementation. This saves memory and makes serialization of the ProverKey about twice as fast. Both are significant when there are a large number of constraints. Signed-off-by: Greg Zaverucha <[email protected]> * Clippy fix & whitespace Signed-off-by: Greg Zaverucha <[email protected]> * Whitespace Signed-off-by: Greg Zaverucha <[email protected]> * cargo fmt --------- Signed-off-by: Greg Zaverucha <[email protected]> Co-authored-by: Srinath Setty <[email protected]>
- Loading branch information
1 parent
4e59073
commit b813727
Showing
4 changed files
with
22 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters