Skip to content

Commit 0210424

Browse files
AlpAlp
authored andcommitted
chore: remove internal patch reference comments
1 parent f42155f commit 0210424

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

packages/zql/src/ivm/memory-source.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,6 @@ export class MemorySource implements Source {
268268
const connectionComparator = (r1: Row, r2: Row) =>
269269
compareRows(r1, r2) * (req.reverse ? -1 : 1);
270270

271-
// Patch 7: Use cached pkConstraint from connection instead of recomputing
272271
const pkConstraint = conn.pkConstraint;
273272
// The primary key constraint will be more limiting than the constraint
274273
// so swap out to that if it exists.
@@ -293,7 +292,6 @@ export class MemorySource implements Source {
293292
indexSort.push(...requestedSort);
294293
}
295294

296-
// Patch 4: Cache index lookup per connection
297295
let constraintShapeKey = '';
298296
if (fetchOrPkConstraint) {
299297
for (const key of Object.keys(fetchOrPkConstraint)) {

0 commit comments

Comments
 (0)