Skip to content

feat(compiler): add opt-in RakuAST queries and isolated SQL plan caching - #604

Merged
FCO merged 1 commit into
masterfrom
split/rakuast-query-cache
Oct 28, 2026
Merged

FCO merged 1 commit into
masterfrom
split/rakuast-query-cache

Conversation

@FCO

@FCO FCO commented Oct 27, 2026

Copy link
Copy Markdown
Owner

Add optional CHECK-time compilation of Red query callbacks with symbolic fallback, isolated captures and opt-in fallback warnings. Cache SQL plans and scalar predicate shapes without sharing connections, cursors, bindings or results.

Include the SQL grouping corrections required by arithmetic string interpolation and computed SQLite JSON paths. Use .WHERE for object identity instead of nqp::where, and include compiler/cache regressions, documentation and benchmarks.

Validation: RAKUDO_RAKUAST=0 prove6 -lj4 t passed (Files=104, Tests=1268). The complete suite also passed with RAKUDO_RAKUAST=1.

Split out of #603. This branch is based directly on master and can be reviewed and merged without another split PR.

@FCO FCO mentioned this pull request Oct 27, 2026
@FCO
FCO force-pushed the split/rakuast-query-cache branch from a11e88e to 90a1520 Compare October 28, 2026 00:59
@FCO
FCO merged commit 491c325 into master Oct 28, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant