Skip to content

Added benchmarks to nozk verifier#1

Open
kenshamir wants to merge 1 commit into
SarangNoether:nozk-verifierfrom
kenshamir:nozk-verifier
Open

Added benchmarks to nozk verifier#1
kenshamir wants to merge 1 commit into
SarangNoether:nozk-verifierfrom
kenshamir:nozk-verifier

Conversation

@kenshamir

Copy link
Copy Markdown

Two small changes were made to the code:

  • Initialised Vectors with capacity to avoid allocations

  • created a variable called logn which is equal to challenges.len() . E.g. If n = 256 then challenges.len() = 8 = logn. This was done to avoid calling challenges.len() each time we needed it.

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.

1 participant