Misc optimizations for group gadgets #125
Labels
documentation
Improvements or additions to documentation
enhancement
New feature or request
nice to have
Possible new feature to introduce
optimization
Performance improvement for the current codebase
mul_bits_fixed_base
we can optimize performances by applying the batch inversion to the whole table and not only to the table obtained by packing 2 bits at a time;mul_bits
andmul_bits_fixed_base
functions to transparently handle exceptional cases if arithmetic is incomplete (shift + conditional selection of the result);r
. Let's take a more accurate measure instead of the Hamming weight to pick out the most efficient test..*fixed_base.*
) that computes the power of the bases(s) inside or accepting already the precomputed powers of the base(s) as input parameter. I would suggest to keep the latters, as we can always precompute the powers of the base(s), save them somewhere, and pass references to them to the circuit whenever needed. We should address also the functions left todo!() in the implementers of GroupGadget trait.Iterator<bool>
instead ofVec<bool>
The text was updated successfully, but these errors were encountered: