Awesome06 commented on PR #55425: URL: https://github.com/apache/arrow/pull/55425#issuecomment-7132598719
Yes, preserving that simplicity is key. The idea is to keep the standard `Op::Call` pattern so authors never write custom loop or null-handling code: - **Standard kernels (zero extra code):** `ArrayIterator` can yield a lightweight reference holding `(descriptor, buffers)` that implicitly converts to `std::string_view` on demand. Any kernel taking `std::string_view` continues to work as-is. - **Prefix-aware kernels:** Kernels like `Equal` or `StartsWith` could optionally provide a small prefix-check hook. The applicator would check `(length, prefix)` first, resolving the variadic buffer payload only when prefixes match. All looping, null bitmaps, and scalar broadcasting remain inside the applicator. -- 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]
