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
assemble_shares
In file vid/src/advz.rs in function assemble_shares we have the following code snippet:
vid/src/advz.rs
jellyfish/vid/src/advz.rs
Lines 915 to 932 in 92714a4
Here evals, proofs are mutable Vecs and we use mem::take to initialize a Share struct. This seems unnecessarily complex and obfuscated to me.
evals
proofs
mem::take
Share
We should be able to eliminate evals, proofs and simply move the relevant data directly into Share::evals, Share::evals_proof something like
Share::evals
Share::evals_proof
evals: all_storage_node_evals[i], evals_proof: aggregate_proofs[i],
Probably need to loop over a more idiomatic iterator instead of using i to index into these Vecs.
i
The text was updated successfully, but these errors were encountered:
akonring
ggutoski
Successfully merging a pull request may close this issue.
In file
vid/src/advz.rs
in functionassemble_shares
we have the following code snippet:jellyfish/vid/src/advz.rs
Lines 915 to 932 in 92714a4
Here
evals
,proofs
are mutable Vecs and we usemem::take
to initialize aShare
struct. This seems unnecessarily complex and obfuscated to me.We should be able to eliminate
evals
,proofs
and simply move the relevant data directly intoShare::evals
,Share::evals_proof
something likeProbably need to loop over a more idiomatic iterator instead of using
i
to index into these Vecs.The text was updated successfully, but these errors were encountered: