Skip to content

Commit d0076f5

Browse files
AlpAlp
authored andcommitted
chore: remove internal patch reference comments
1 parent e8acacc commit d0076f5

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
@@ -266,7 +266,6 @@ export class MemorySource implements Source {
266266
const connectionComparator = (r1: Row, r2: Row) =>
267267
compareRows(r1, r2) * (req.reverse ? -1 : 1);
268268

269-
// Patch 7: Use cached pkConstraint from connection instead of recomputing
270269
const pkConstraint = conn.pkConstraint;
271270
// The primary key constraint will be more limiting than the constraint
272271
// so swap out to that if it exists.
@@ -291,7 +290,6 @@ export class MemorySource implements Source {
291290
indexSort.push(...requestedSort);
292291
}
293292

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

0 commit comments

Comments
 (0)