We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c5bedb commit ca507d4Copy full SHA for ca507d4
src/index.ts
@@ -300,7 +300,6 @@ function createQuerier() {
300
return value != undefined && value != null;
301
}
302
let subQueryCounter = 0;
303
- let memoHits = 0;
304
const memo = new Map<QNode, Map<NodePath | PrimitiveValue, Result[]>>();
305
306
function resolveDirectly(node: QNode, path: NodePath) : Result[] {
@@ -337,7 +336,6 @@ function createQuerier() {
337
336
for (const path of paths) {
338
if (isNodePath(path)) {
339
if (memo.has(startNode) && memo.get(startNode)!.has(path)) {
340
- memoHits++;
341
result.push(...memo.get(startNode)!.get(path)!);
342
} else {
343
const subQueryKey = "subquery-" + subQueryCounter++;
0 commit comments