Closed rubdos closed 4 years ago
Made a r1cs::Metrics
struct instead!
Squashed together; didn't make any sense anymore as separate commits. Note that this removes multipliers_len
, as suggested by @oleganza .
I've added documentation suggestions - please feel free to reword how you please. This patch looks great!
I hadn't seen your update, I have accepted your suggestions!
Nightly is already broken for everyone using dalek libraries since Rust renamed asm!
macro to llvm_asm!
, which breaks subtle
(https://github.com/dalek-cryptography/subtle/pull/70), so I'm merging this PR even with CI failing on nightly.
Add methods to count the different kinds of constraints, which comes in handy when developing and benchmarking larger circuits. This is analogue with #284,
ConstraintSystem::multipliers_len()
.