aztec-2.0 icon indicating copy to clipboard operation
aztec-2.0 copied to clipboard

Computation of power polynomial is O(d * 2^d) instead of O(2^d)

Open lucasxia01 opened this issue 2 years ago • 0 comments

We compute the power polynomial with an outer loop that iterates over 2^d (d being the log size and also the number of betas), and use a O(d) inner loop that multiplies the appropriate betas together. We can optimize this to O(2^d) method that is also easily parallelizable by computing a binary tree.

Started in this commit.

lucasxia01 avatar Feb 21 '24 18:02 lucasxia01