romainfrancois opened a new pull request #11168:
URL: https://github.com/apache/arrow/pull/11168


   Currently work in progress to deal with converting string Arrays into R 
altrep vectors. 
   
   This needs more work, and other altrep vectors perhaps need to change as 
well. The string implementation is mostly inspired from the 
`R_deferred_string_class` in base R. 
   
   This uses static methods because things like `Dataptr()` or even `Elt()` 
might jump and so we need to correctly unwind. This right now creates a 
dissymmetry. Perhaps all classes should just use static methods, like it used 
to be, and like things are usually done. 
   
   Once this experiment is finished, we can start being more ambitious about 
converting more things to altrep, i.e. have altrep classes that uses the 
(potentially redesigned `Converter` code from `array_to_vector.cpp`). 
   


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