EspressoSystems / hyperplonk

MIT License
181 stars 38 forks source link

Improve sum check in general and preprocess for sum check in mlkzg `multi_open` #123

Closed han0110 closed 1 year ago

han0110 commented 1 year ago

This PR does 2 changes:

Comparison

Running cargo bench --bench hyperplonk-benches --features print-trace and extract the following trace components of bench_vanilla_plonk when num_vars = 20, the result is as follows:

Name Trace Components Before After Ratio (Before/After)
Gate ZeroCheck ZeroCheck on f 345.313ms 268.233ms 1.287
Permutation ZeroCheck zerocheck in product check 424.487ms 345.190ms 1.229
PCS SumCheck compute tilde g for 22 points
compute tilde eq for 22 points
sum check prove of 20 variables
414.559ms
100.478ms
991.671ms
110.617ms
69.953ms
235.245ms
3.623
CLAassistant commented 1 year ago

CLA assistant check
All committers have signed the CLA.

chancharles92 commented 1 year ago

Thanks @han0110 ! I'll review it early next week.