Closed guipublic closed 2 months ago
I've pushed a commit which removes the trait bounds being applied to the various struct definitions as it's generally good practice to avoid these unless absolutely necessary and apply the bounds to impls instead.
Generated at commit: b3e5b31980592c1331fbdede08cb19f53eaf7744, compared to commit: 819f37002a253cdba8c46daac5d68f64fa11f19c
Program | ACIR opcodes (+/-) | % | Circuit size (+/-) | % |
---|---|---|---|---|
private_kernel_reset_small | -1 โ | -0.00% | -152 โ | -0.02% |
private_kernel_reset_medium | -1 โ | -0.00% | -304 โ | -0.03% |
private_kernel_reset_big | -1 โ | -0.00% | -608 โ | -0.05% |
private_kernel_reset | -1 โ | -0.00% | -1,216 โ | -0.07% |
Metrics with a significant change:
Looks good, shall we merge this on monday so it can be included in the Tuesday release? We'll be able to immediately sync out to Noir then.
We've got a release tomorrow so merging this now.
This PR allows to use constant values for blackbox inputs. Only MultiScalarMul is currently handling constant input, so it will fail if constant inputs are used for any other blackboxes. Noir does ensure that other blackboxes functions do not use constant inputs in this PR. I will make a follow-up PR once this one is merged to have more blackbox functions using constant inputs.