AlenkaF commented on PR #46732:
URL: https://github.com/apache/arrow/pull/46732#issuecomment-2959443306

   > Calling `list(range(...))` and converting it to a Arrow array afterwards 
is going to be significantly more costly (and memory-consuming) than `np.arange`
   
   We are not really converting numpy array or list to PyArrow array. We are 
only using a different path to construct indices to pass to 
`pa.Array.take(indices)`. I would think that saving indices as a list and not a 
numpy array would not yield hight performance loss?


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