Files
langgraph/libs/checkpoint-sqlite/tests
Elior Nataf Lackritz 4a4d8d1544 perf(checkpoint-sqlite): pin the ancestor walk's join order
Without ANALYZE stats sqlite chose checkpoints as the outer loop of the
recursive step and scanned the whole thread per ancestor, so the walk was
quadratic (4000 steps: 0.48s). CROSS JOIN keeps ancestors outside and each
step becomes one primary key lookup (0.006s).
2026-09-28 18:38:53 -04:00
..