crate-crypto / go-eth-kzg

Apache License 2.0
29 stars 22 forks source link

chore(DO NOT MERGE): Merge #97 and #98 #99

Open kevaundray opened 2 months ago

kevaundray commented 2 months ago

This merges both the monomial form for computing proofs and the iterative FFT code.

kevaundray commented 2 months ago

Benchmarks for 4844 compute:

goos: darwin
goarch: arm64
pkg: github.com/crate-crypto/go-eth-kzg
Benchmark/BlobToKZGCommitment-10                 140       9368765 ns/op      405019 B/op        153 allocs/op
Benchmark/ComputeKZGProof-10                     120      11115686 ns/op      667633 B/op        179 allocs/op
Benchmark/ComputeBlobKZGProof-10                 100      10302858 ns/op      668033 B/op        186 allocs/op