-
Notifications
You must be signed in to change notification settings - Fork 293
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(bb): eliminate recursion in accumulate* (#8205)
Jean is working on the AVM recursive verifier and he found that these functions were executed recursively (the compiler was indeed generating recursive calls) and causing a stack overflow. This fixes that. * ~~Also fixed `accumulate_relation_evaluations_without_skipping` which was only not skipping the first relation.~~ Tests fail with the fix, I've added a comment. * I also made some params `const&`. IIUC they were being copied before which can be massive for the type `AllValues`. Not sure about that but you might want to check the callers, etc.
- Loading branch information
Showing
1 changed file
with
32 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters