Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

optimize: Compute v_init opening without polynomial instantiation #565

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

DeVikingMark
Copy link

Optimizes the computation of v_init polynomial opening in ReadWriteMemory verifier by directly computing the evaluation value without creating the full polynomial. This improves performance by:

  • Eliminating the need to allocate a large vector for coefficients storage
  • Reducing the number of operations when computing polynomial value
  • More efficient memory usage

The optimization is achieved by computing the polynomial evaluation directly at the evaluation point, accumulating contributions from bytecode and input data while tracking powers of the evaluation point.

Resolves TODO(moodlezoup) comment in read_write_memory.rs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant