[
https://issues.apache.org/jira/browse/ARROW-8629?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated ARROW-8629:
----------------------------------
Labels: pull-request-available (was: )
> [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
> Priority: Major
> Labels: pull-request-available
> Time Spent: 10m
> Remaining Estimate: 0h
>
> 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)