-
Notifications
You must be signed in to change notification settings - Fork 4k
Description
There is some question of whether these kernels allocate optimally- for example when Filtering or Taking strings it might be more efficient to pass over the filter/indices twice, first to determine how much character storage will be needed then again into allocated memory: #4531 (comment)
Additionally, these kernels could probably make good use of scatter/gather SIMD instructions.
Furthermore, Filter's bitmap is currently lazily expanded into the indices of elements to be appended to the output array. It would probably be more efficient to expand to indices in batches, then gather using an index batch.
Reporter: Ben Kietzman / @bkietz
Assignee: Wes McKinney / @wesm
Related issues:
- [C++] C++ array kernels framework and execution buildout (umbrella issue) (relates to)
- [C++] Use selection vectors in Filter implementation for record batches, tables (relates to)
- [C++] Improve and expand Take/Filter benchmarks (is related to)
- [C++] Optimize Filter implementation (is related to)
PRs and other links:
Note: This issue was originally created as ARROW-5760. Please see the migration documentation for further details.