paleolimbot commented on issue #39004:
URL: https://github.com/apache/arrow/issues/39004#issuecomment-1875580374

   Slightly more minimal reprex:
   
   ``` r
   library(arrow, warn.conflicts = FALSE)
   #> Some features are not enabled in this build of Arrow. Run `arrow_info()` 
for more information.
   
   x <- runif(29500000) * 10
   x_altrep <- as.vector(as_chunked_array(x))
   
   bench::mark(
     is.na(x),
     is.na(x_altrep)
   )
   #> # A tibble: 2 × 6
   #>   expression           min   median `itr/sec` mem_alloc `gc/sec`
   #>   <bch:expr>      <bch:tm> <bch:tm>     <dbl> <bch:byt>    <dbl>
   #> 1 is.na(x)          23.7ms   24.1ms     41.3      113MB     15.9
   #> 2 is.na(x_altrep)  244.4ms  244.5ms      4.09     113MB      0
   ```
   
   <sup>Created on 2024-01-03 with [reprex 
v2.0.2](https://reprex.tidyverse.org)</sup>


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