You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Andy Grove (Jira)" <ji...@apache.org> on 2020/05/19 23:30:00 UTC
[jira] [Resolved] (ARROW-8629) [Rust] Eliminate indirection of ZST
allocations
[ https://issues.apache.org/jira/browse/ARROW-8629?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andy Grove resolved ARROW-8629.
-------------------------------
Fix Version/s: 1.0.0
Resolution: Fixed
Issue resolved by pull request 7061
[https://github.com/apache/arrow/pull/7061]
> [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
> Fix For: 1.0.0
>
> Time Spent: 1h 50m
> 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)