Skip to content

AVM: Optimizations #1602

@iakovenkos

Description

@iakovenkos
  1. Avoid creating zero polynomial of fixed circuit size in the prover before batching -- tweak compute_batched to compute the linear combination in place, i.e. initialize with the first entity, and swap the accumulator if a poly of bigger size is encountered.
  2. Try multi-threading the above using some entities as acccumulators
  3. Hash shifted polys only once. Compute batching challenges for unshifted instead (maybe it has to be AllValues, not just a vector), compute batched_shifted using corresponding short challenges, compute batched unshifted as $\sum_{\text{non-shiftable}} \rho_i * P_i + \text{batched-shifted}$

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions