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:
Csaba Kiraly 2022-11-17 14:37:02 +01:00
parent a54c97aa6a
commit 4d14db8ddc
No known key found for this signature in database
GPG Key ID: 0FE274EE8C95166E
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ template StorageProver(blockSize, qLen, nLevels) {
component checkInclusion[qLen];
for (var i = 0; i < qLen; i++) {
CheckInclusion(nLevels)(
parallel CheckInclusion(nLevels)(
indices[i],
chunkHashes[i],
treeSiblings[i],