speed up c++ witness calculation using 2.0.8 parallel tag
See https://docs.circom.io/circom-language/templates-and-components/#components Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
This commit is contained in:
parent
a54c97aa6a
commit
4d14db8ddc
|
@ -66,7 +66,7 @@ template StorageProver(blockSize, qLen, nLevels) {
|
||||||
component checkInclusion[qLen];
|
component checkInclusion[qLen];
|
||||||
for (var i = 0; i < qLen; i++) {
|
for (var i = 0; i < qLen; i++) {
|
||||||
|
|
||||||
CheckInclusion(nLevels)(
|
parallel CheckInclusion(nLevels)(
|
||||||
indices[i],
|
indices[i],
|
||||||
chunkHashes[i],
|
chunkHashes[i],
|
||||||
treeSiblings[i],
|
treeSiblings[i],
|
||||||
|
|
Loading…
Reference in New Issue