mirror of
https://github.com/arnaucube/circom.git
synced 2026-02-06 18:56:40 +01:00
Reduce mem
This commit is contained in:
@@ -359,7 +359,7 @@ async function reduceConstrains(ctx) {
|
||||
if (!c) continue;
|
||||
|
||||
// Limit of number of lelements removed per step
|
||||
if (nRemoved>100000) {
|
||||
if (nRemoved>500000) {
|
||||
nextPossibleConstraints[possibleConstraints[i]] = true;
|
||||
continue;
|
||||
}
|
||||
@@ -452,6 +452,7 @@ async function reduceConstrains(ctx) {
|
||||
lSignal = ctx.signals[lSignal.e];
|
||||
}
|
||||
|
||||
sig2constraint[s] = null;
|
||||
lSignal.c = ctx.stDISCARDED;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user