jorisvandenbossche commented on pull request #11185:
URL: https://github.com/apache/arrow/pull/11185#issuecomment-924965766


   > That seemed a more suitable strategy because converting from `numpy.array` 
to `BooleanArray` should usually be zero copy and thus have little overhead
   
   That's not actually the case, unfortunately: numpy uses bytes for boolean 
arrays (like int8), while arrow uses bits. Now, whether this additional 
conversion step (instead of iterating over the numpy array directly) matters 
and has a noticeable impact, I don't know (you could time it)


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