Skip to content

Commit 6ce4a0f

Browse files
perf(sis): sets the SIS threshold to 512 as it's more efficient
1 parent 0d4f0d1 commit 6ce4a0f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

prover/protocol/distributed/segment_compilation.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ func CompileSegment(mod any, params CompilationParams) *RecursedSegmentCompilati
207207
false,
208208
vortex.ForceNumOpenedColumns(256),
209209
vortex.WithSISParams(&sisInstance),
210-
vortex.WithOptionalSISHashingThreshold(64),
210+
vortex.WithOptionalSISHashingThreshold(512),
211211
),
212212
)
213213
} else {
@@ -219,7 +219,7 @@ func CompileSegment(mod any, params CompilationParams) *RecursedSegmentCompilati
219219
vortex.ForceNumOpenedColumns(256),
220220
vortex.WithSISParams(&sisInstance),
221221
vortex.AddMerkleRootToPublicInputs(lppMerkleRootPublicInput, []int{0}),
222-
vortex.WithOptionalSISHashingThreshold(64),
222+
vortex.WithOptionalSISHashingThreshold(512),
223223
),
224224
)
225225
}
@@ -243,7 +243,7 @@ func CompileSegment(mod any, params CompilationParams) *RecursedSegmentCompilati
243243
false,
244244
vortex.ForceNumOpenedColumns(64),
245245
vortex.WithSISParams(&sisInstance),
246-
vortex.WithOptionalSISHashingThreshold(64),
246+
vortex.WithOptionalSISHashingThreshold(512),
247247
),
248248
selfrecursion.SelfRecurse,
249249
poseidon2.CompilePoseidon2,
@@ -266,7 +266,7 @@ func CompileSegment(mod any, params CompilationParams) *RecursedSegmentCompilati
266266
vortex.WithSISParams(&sisInstance),
267267
vortex.PremarkAsSelfRecursed(),
268268
vortex.AddPrecomputedMerkleRootToPublicInputs(VerifyingKeyPublicInput),
269-
vortex.WithOptionalSISHashingThreshold(64),
269+
vortex.WithOptionalSISHashingThreshold(512),
270270
),
271271
// dummy.CompileAtProverLvl(dummy.WithMsg("Post-vortex:just-before-recursion")),
272272
)
@@ -332,7 +332,7 @@ func CompileSegment(mod any, params CompilationParams) *RecursedSegmentCompilati
332332
vortex.ForceNumOpenedColumns(64),
333333
vortex.WithSISParams(&sisInstance),
334334
vortex.AddPrecomputedMerkleRootToPublicInputs(VerifyingKey2PublicInput),
335-
vortex.WithOptionalSISHashingThreshold(64),
335+
vortex.WithOptionalSISHashingThreshold(512),
336336
),
337337
selfrecursion.SelfRecurse,
338338
poseidon2.CompilePoseidon2,
@@ -356,7 +356,7 @@ func CompileSegment(mod any, params CompilationParams) *RecursedSegmentCompilati
356356
vortex.ForceNumOpenedColumns(64),
357357
vortex.WithSISParams(&sisInstance),
358358
vortex.PremarkAsSelfRecursed(),
359-
vortex.WithOptionalSISHashingThreshold(64),
359+
vortex.WithOptionalSISHashingThreshold(512),
360360
),
361361
)
362362
}

0 commit comments

Comments
 (0)