Mahmut Bulut created ARROW-8629:
-----------------------------------

             Summary: [Rust] Eliminate indirection of ZST allocations
                 Key: ARROW-8629
                 URL: https://issues.apache.org/jira/browse/ARROW-8629
             Project: Apache Arrow
          Issue Type: Improvement
          Components: Rust
    Affects Versions: 0.17.0
            Reporter: Mahmut Bulut
            Assignee: Mahmut Bulut


Currently, no matter what any array construction without data creates 0 sized 
layouts and passes itself to Rust's allocator API, thus OS then comes back to 
the program and does the job.

This issue is two-fold:
 * First, this creates indirection and UB in a sense.
 * Second, degrades the performance for the merging simd, merging arrays, 
constructing arrays etc. and intermediate arrays when doing ops. over them.

The solution would be:
 * Having UB solved without a performance downside.
 * Improve the performance



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to