Merge pull request #2996 from ericvergnaud/fix-js-perf-issue-cause-by-incorrect-fix
rollback partially incorrect fix for #2902
This commit is contained in:
commit
0ad70569b2
|
@ -562,7 +562,7 @@ function mergeArrays(a, b, rootIsWildcard, mergeCache) {
|
|||
while (i < a.returnStates.length && j < b.returnStates.length) {
|
||||
const a_parent = a.parents[i];
|
||||
const b_parent = b.parents[j];
|
||||
if (equalArrays(a.returnStates[i], b.returnStates[j])) {
|
||||
if (a.returnStates[i] === b.returnStates[j]) {
|
||||
// same payload (stack tops are equal), must yield merged singleton
|
||||
const payload = a.returnStates[i];
|
||||
// $+$ = $
|
||||
|
|
Loading…
Reference in New Issue