Skip to content

Commit 4f4c021

Browse files
committed
chore: add changeset for filter expression compile fix
1 parent 3b862f4 commit 4f4c021

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
"@tanstack/db": patch
3+
---
4+
5+
fix(db): compile filter expression once in createFilterFunctionFromExpression
6+
7+
Fixed a performance issue in `createFilterFunctionFromExpression` where the expression was being recompiled on every filter call. This only affected realtime change event filtering for pushed-down predicates at the collection level when using orderBy + limit. The core query engine was not affected as it already compiled predicates once.

0 commit comments

Comments
 (0)