romainfrancois commented on pull request #10445:
URL: https://github.com/apache/arrow/pull/10445#issuecomment-856674081


   @nealrichardson I've turned off making INT64 arrays with no nulls into 
altrep bit64::integer64 vectors (i.e. reusing the payload of the array as the 
data of the underlying double array in R ...) because of the auto downcasting 
to int vectors when it fits: 
   
   ``` r
   library(arrow, warn.conflicts = FALSE)
   
   i64 <- Array$create(bit64::as.integer64(1:10))
   .Internal(inspect(as.vector(i64)))
   #> @7ff0b2099c38 13 INTSXP g0c4 [REF(2)] (len=10, tl=0) 1,2,3,4,5,...
   ```
   
   <sup>Created on 2021-06-08 by the [reprex 
package](https://reprex.tidyverse.org) (v2.0.0)</sup>
   
   I can altogether remove the int64 altrep code if needed ... ?


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

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to