Skip to content

Return the lazy filtered row index array directly - #9760

Merged
robert3005 merged 1 commit into
developfrom
claude/pr-9717-review-qioabx
Sep 3, 2026
Merged

Return the lazy filtered row index array directly#9760
robert3005 merged 1 commit into
developfrom
claude/pr-9717-review-qioabx

Conversation

@robert3005

Copy link
Copy Markdown
Contributor

Follow-up to #9717

@robert3005
robert3005 requested a review from danking September 3, 2026 20:27
@robert3005 robert3005 added the changelog/chore A trivial change label Sep 3, 2026
@robert3005
robert3005 enabled auto-merge (squash) September 3, 2026 20:27
Follow-up to #9717. The row index projection eagerly canonicalized the
filtered sequence for value masks. The filter is already lazy and its
optimizer reduces all-true masks to the sequence and all-false masks to an
empty array, so return the filtered array as-is and let the consumer
execute it alongside the expression. This drops the unused session
parameter from row_idx_array_future.

Signed-off-by: Robert Kruszewski <github@robertk.io>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015bULRkXtSPXUAw9sFpoo6y
@robert3005
robert3005 force-pushed the claude/pr-9717-review-qioabx branch from 25435a4 to 03e692f Compare September 3, 2026 20:29
@codspeed-hq

codspeed-hq Bot commented Sep 3, 2026

Copy link
Copy Markdown

Merging this PR will improve performance by 61%

⚠️ Unknown Walltime execution environment detected

Using the Walltime instrument on standard Hosted Runners will lead to inconsistent data.

For the most accurate results, we recommend using CodSpeed Macro Runners: bare-metal machines fine-tuned for performance measurement consistency.

⚡ 1 improved benchmark
✅ 2180 untouched benchmarks
⏩ 206 skipped benchmarks1

Performance Changes

Mode Benchmark BASE HEAD Efficiency
WallTime arrow_checked_add_u32_neon[16384] 20.5 µs 12.7 µs +61%

Tip

Curious why performance improved? Comment @codspeedbot explain why performance improved on this PR, or directly use the CodSpeed MCP with your agent.


Comparing claude/pr-9717-review-qioabx (03e692f) with develop (86d4a36)

Open in CodSpeed

Footnotes

  1. 206 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.

@robert3005
robert3005 merged commit 78f4d38 into develop Sep 3, 2026
83 checks passed
@robert3005
robert3005 deleted the claude/pr-9717-review-qioabx branch September 3, 2026 20:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog/chore A trivial change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants