We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
create_proof
The current create_proof is a behemoth function that does too much.
This is affecting:
Vec
The function sits at ~650 lines
halo2/halo2_proofs/src/plonk/prover.rs
Lines 33 to 699 in 0c3e3b5
cc @AlekseiVambol @Brechtpd @CeciliaZ030
The text was updated successfully, but these errors were encountered:
Agree. Happy to work on splitting it into smaller components (sadly, not sure we can parallelize much on them anyways).
But maybe breaking it up into components shows something interesting!
Also, it's true that Rust invokes drop based on scopes. So It might be the case we're paying more than needed there.
drop
Sorry, something went wrong.
Totally agree! In the frontend-backend PR I already split the create_proof into 3 parts (which are necessary for the split):
Line 149 in d350e72
Successfully merging a pull request may close this issue.
The current
create_proof
is a behemoth function that does too much.This is affecting:
Vec
are garbage collected only at function exitThe function sits at ~650 lines
halo2/halo2_proofs/src/plonk/prover.rs
Lines 33 to 699 in 0c3e3b5
cc @AlekseiVambol @Brechtpd @CeciliaZ030
The text was updated successfully, but these errors were encountered: