andygrove opened a new pull request, #23458: URL: https://github.com/apache/datafusion/pull/23458
> This PR was created by an LLM as a draft PR. I will mark it as ready for review after human review. ## Which issue does this PR close? N/A — autonomous exploratory PR. ## Rationale for this change Added a null-free fast path to the nanvl array kernel that iterates raw f64 value slices instead of per-element Option iteration plus collect, eliminating null-bookkeeping overhead on the common no-null input. ## What changes are included in this PR? Added a null-free fast path to the nanvl array kernel that iterates raw f64 value slices instead of per-element Option iteration plus collect, eliminating null-bookkeeping overhead on the common no-null input. ## Are these changes tested? Correctness: unit tests + seeded differential fuzz (bit-identical Arrow output vs `main`). Benchmark (criterion): - nanvl_scalar_f64: -0.406% faster (base 36ns -> cand 36ns) - nanvl_array_f64_1024: 92.229% faster (base 3250ns -> cand 252ns) - nanvl_array_f32_1024: 95.031% faster (base 3189ns -> cand 158ns) - nanvl_array_f64_4096: 93.826% faster (base 12679ns -> cand 782ns) - nanvl_array_f32_4096: 96.952% faster (base 12549ns -> cand 382ns) - nanvl_array_f64_8192: 93.375% faster (base 25792ns -> cand 1708ns) - nanvl_scalar_f32: -1.367% faster (base 36ns -> cand 37ns) - nanvl_array_f32_8192: 96.997% faster (base 24943ns -> cand 749ns) ## Are there any user-facing changes? <!-- If there are user-facing changes then we may require documentation to be updated before approving the PR. --> <!-- If there are any breaking changes to public APIs, please add the `api change` label. --> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
