Skip to content

Commit 21517b6

Browse files
committed
Improve or parsing performance
1 parent f2f2e6c commit 21517b6

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎index.js‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,10 @@ function resolve(queries, context) {
363363
return !filter[j]
364364
})
365365
}
366-
return result.concat(array)
366+
for (var i = 0; i < array.length; i++) {
367+
result.push(array[i])
368+
}
369+
return result
367370
}
368371
}, [])
369372
}

0 commit comments

Comments
 (0)