js8544 commented on PR #36906:
URL: https://github.com/apache/arrow/pull/36906#issuecomment-1671262057

   
   > It seems that it reuses the DenseUnion approach, but it would be more 
efficient to reuse the Struct approach. What do you think?
   
   Right, I've changed it to the struct approach. But there is room for 
improvement for SparseUnion: the unselect children can have any value, so we 
don't have to call take with the same indices for every child. I've left a TODO 
comment in the code for this.


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