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

remove memoization of AIR constraints #121

Closed
jan-ferdinand opened this issue Nov 14, 2022 · 0 comments · Fixed by #125
Closed

remove memoization of AIR constraints #121

jan-ferdinand opened this issue Nov 14, 2022 · 0 comments · Fixed by #125
Labels
🤖 code Changes the implementation 💫 good first issue Good for newcomers 🟡 prio: medium Not super urgent ⏩ speedup Makes stuff go faster.

Comments

@jan-ferdinand
Copy link
Member

Evaluating AIR constraints using rust code is a lot faster compared to using multivariate polynomials. Once all constraints are expressed as code, i.e., after PR #117 is merged and the relevant parts of #115 are complete, remove the memoization of constraint polynomials that is currently happening in most table's extend method.

@jan-ferdinand jan-ferdinand added 💫 good first issue Good for newcomers 🟡 prio: medium Not super urgent 🤖 code Changes the implementation ⏩ speedup Makes stuff go faster. labels Nov 14, 2022
@jan-ferdinand jan-ferdinand linked a pull request Nov 20, 2022 that will close this issue
jan-ferdinand added a commit that referenced this issue Nov 21, 2022
- express all constraints of all tables as arithmetic circuits
- generate code to evaluate those constraints
- generate code for getting quotient degree bounds
- remove memoization of AIR constraints & degree bounds
- automatically perform code generation on running `make test`
→ completely remove multivariate polynomials from tables

fix #96, fix #121, fix #123
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🤖 code Changes the implementation 💫 good first issue Good for newcomers 🟡 prio: medium Not super urgent ⏩ speedup Makes stuff go faster.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant