Reduce mem
Jordi Baylina jordi@baylina.cat
Thu, 17 Sep 2020 22:53:06 +0200
1 files changed,
2 insertions(+),
1 deletions(-)
jump to
M
src/compiler.js
→
src/compiler.js
@@ -359,7 +359,7 @@ const c = ctx.constraints[possibleConstraints[i]];
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 @@ while (lSignal.e>=0) {
lSignal = ctx.signals[lSignal.e]; } + sig2constraint[s] = null; lSignal.c = ctx.stDISCARDED; }