diff --git a/src/compiler.js b/src/compiler.js index b9c3d0f..69e2dfd 100644 --- a/src/compiler.js +++ b/src/compiler.js @@ -346,17 +346,24 @@ async function reduceConstrains(ctx) { } else { nextPossibleConstraints = {}; } - removedSignals = new BigArray(); + removedSignals = {}; nRemoved = 0; - lIdx = new BigArray(); + lIdx = {}; for (let i=0;i100000) { + nextPossibleConstraints[possibleConstraints[i]] = true; + continue; + } + // Swap a and b if b has more variables. if (Object.keys(c.b).length > Object.keys(c.a).length) { const aux = c.a; @@ -434,7 +441,7 @@ async function reduceConstrains(ctx) { } } - const removedSignalsList = removedSignals.getKeys(); + const removedSignalsList = Object.keys(removedSignals); for (let i=0; i