You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 994b7dd
Browse filesBrowse the repository at this point in the historyBrowse files
perf(array): pack Boolean output for the RowFn dense retry
`ExecuteDenseWithRetry` inherited the `visit_prepared_deferred_bool`
default, which forwards to the generic owned-output path. A deferred
Boolean kernel under the retry policy therefore collected one byte per
row and packed the bytes afterwards.
The visitor now implements the method and calls the new
`execute_bool_dense_attempt`, which packs bits during evaluation and
still separates row failure from terminal decode errors. That executor
keeps its own copy of the row loop, for the reason
`execute_owned_dense_attempt` records: a shared helper changes the
optimized dense kernel even when it inlines.
Two source shapes are load-bearing for code generation. The collector
captures one mutable borrow of `DeferredBoolState` rather than capturing
its four parts separately. The word loop in `vortex-buffer` packs its
tail with a private always-inlined copy of `collect_bool_word_scalar`,
so the public entry point and the scalar benchmark baselines keep their
own inlining behavior. Without either shape the multiversioned loop
stays scalar.
The new tests cover sliced validity, batch-constant inputs, word
boundary lengths, and a decode error that must stay terminal.
Signed-off-by: Connor Tsui <[email protected]>
0 commit comments