neilconway commented on PR #11227:
URL: https://github.com/apache/arrow-rs/pull/11227#issuecomment-5848506436

   Additional notes:
   
   * `try_unary` might benefit from a similar optimization, although it would 
mean we would invoke the closure on more rows after the first closure fails; 
for side-effecting closures that might be considered an API change.
   * Property 1 (avoiding null values) is expensive; we could avoid that by 
just invoking the closure on null values and assuming the closure is (a) 
defined / doesn't crash (b) cheap. Many closures in practice satisfy those 
properties, but because this would be a behavior change, might need to do this 
as a separate API.


-- 
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]

Reply via email to