tustvold opened a new issue, #2832:
URL: https://github.com/apache/arrow-rs/issues/2832

   **Is your feature request related to a problem or challenge? Please describe 
what you are trying to do.**
   <!--
   A clear and concise description of what the problem is. Ex. I'm always 
frustrated when [...] 
   (This section helps Arrow developers understand the context and *why* for 
this feature, in addition to  the *what*)
   -->
   
   `MutableArrayData` provides an API to copy chunks of data from source arrays 
into an output array, it is extremely flexible, however, its performance leaves 
a lot to be desired. In particular its reliance on dynamic dispatch per-run not 
only incurs dispatch overheads, but prevents the compiler from properly 
vectorising the code. There are also a number of other issues relating to 
capacity allocation (#347), null mask handling (#1230), dictionary handling 
(#506)
   
   There has been a fairly concerted effort over the last year or so to move 
away from use of MutableArrayData:
   
   * Improvements to the Array Builders
   * Ability to construct Array from iterators
   * Specialized take and filter kernels that only use MutableArrayData as a 
fallback for nested types
   
   **Describe the solution you'd like**
   <!--
   A clear and concise description of what you want to happen.
   -->
   
   I would like to eventually deprecate and remove MutableArrayData. I think 
the only major blockers to this are:
   
   * The filter kernel uses MutableArrayData as a fallback for filtering nested 
types
   * The concat kernel uses MutableArrayData
   * No kernel for interleaving multiple arrays together (#1523)
   
   **Describe alternatives you've considered**
   <!--
   A clear and concise description of any alternative solutions or features 
you've considered.
   -->
   
   **Additional context**
   <!--
   Add any other context or screenshots about the feature request here.
   -->
   
   This can be viewed through the lens of porting @jorgecarleitao 's ideas from 
arrow2 and bringing them into arrow-rs
   


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