Skip to content

Do not rely on drop() to perform final accumulation step - #83

Open
ebfull wants to merge 1 commit into
zcash:mainfrom
ebfull:multieq-closure
Open

Do not rely on drop() to perform final accumulation step#83
ebfull wants to merge 1 commit into
zcash:mainfrom
ebfull:multieq-closure

Conversation

@ebfull

@ebfull ebfull commented Aug 14, 2018

Copy link
Copy Markdown
Collaborator

The MultiEq API relies on drop, which is not guaranteed to run. By wrapping the logic in a closure we ensure the final accumulation step must be performed to proceed with execution.

@daira daira left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

utACK. Existing tests should cover.

stefandeml pushed a commit to stefandeml/sapling-crypto that referenced this pull request Jul 5, 2019
feat(example): print number of constraints on bench
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.

3 participants