mbutrovich commented on issue #2757:
URL: https://github.com/apache/arrow-rs/issues/2757#issuecomment-6641299447

   #12076 does this for integer `/` and `%` by a scalar. An array more than 
half null takes `try_unary`, which iterates with `try_for_each_valid_idx`, for 
`Int32`, `Int64` and `UInt64`, and more than three quarters null for `UInt32`. 
The benchmark bot measured both paths at 20%, 50% and 90% nulls on Neoverse-V2 
and on Xeon 8581C at the default target and at `x86-64-v3` 
([Neoverse-V2](https://github.com/apache/arrow-rs/pull/12076#issuecomment-6639839111),
 [Xeon 
8581C](https://github.com/apache/arrow-rs/pull/12076#issuecomment-6639832179), 
[`x86-64-v3`](https://github.com/apache/arrow-rs/pull/12076#issuecomment-6639833808)).
 Where the paths cross depended on both the type and the machine: below half 
null for the 64-bit types on x86, and above nine tenths null for `UInt32` on 
x86. The PR description has the table.


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