Repository navigation
perf: push a prepared list_contains set into Dict and RunEnd needles - #10442
Conversation
Merging this PR will regress 1 benchmark1 warning
Warning Please fix the performance issues or acknowledge them on CodSpeed. Performance Changes
Tip Investigate this regression by commenting Comparing Footnotes
|
e86b215 to
4bb2b50
Compare
520e97b to
59aa869
Compare
59aa869 to
a6758cb
Compare
a6758cb to
26a71c9
Compare
`list_contains` of a prepared constant set over dictionary or run-end encoded needles probed every row. Reduce rules for `Dict` and `RunEnd` now push the function into their values with a slice of the prepared set, so the set is probed once per distinct value or run and the shared set is not built again. Off SQL null semantics, an empty set answers `false` for a null code, so the dictionary rule returns a constant `false` in that case. Signed-off-by: Robert Kruszewski <robert@spiraldb.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Robert Kruszewski <github@robertk.io>
26a71c9 to
ae19d84
Compare
Shorten the doc comments on the Dict and RunEnd impls, and fold the dictionary needles test with a null value into the rstest cases of the dictionary needles test. Signed-off-by: Robert Kruszewski <github@robertk.io>
703b0e1 to
515f6ee
Compare
Signed-off-by: Robert Kruszewski <github@robertk.io>
|
@codex review |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex Review: Didn't find any major issues. 👍 Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
There was a problem hiding this comment.
🔍 Devin Review: 3 flags
Not posted on this PR by your GitHub settings — view them in Devin Review. (Configure)
|
Posted by Claude Opus 5.5 on Will's behalf. Codex found no major issues, and the change merges cleanly. The three review comments from @myrrc on Nov 6 are still open:
Please address them and reply in each thread. A scope can go in the title too, for example |
list_containsof a prepared constant set over dictionary or run-end encoded needles probed every row. Reduce rules now push the set into the values, so it probes once per distinct value or run.🤖 Generated with Claude Code