Open kevaundray opened 3 years ago
https://github.com/crate-crypto/rust-verkle/blob/ebe01c19de0b1d926d599b68ae8e70953a7fbfe9/src/kzg10/commit_key_lag/lagrange/mod.rs#L107
Optimise the above code, in particular, one can ignore the zeroes and use barycentric evaluation
This issue has been transferred here and is still relevant, however note that before proceeding, we should benchmark this to see if it makes a difference
https://github.com/crate-crypto/rust-verkle/blob/ebe01c19de0b1d926d599b68ae8e70953a7fbfe9/src/kzg10/commit_key_lag/lagrange/mod.rs#L107
Optimise the above code, in particular, one can ignore the zeroes and use barycentric evaluation