[
https://issues.apache.org/jira/browse/ARROW-10596?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jorge Leitão resolved ARROW-10596.
----------------------------------
Fix Version/s: 3.0.0
Resolution: Fixed
Issue resolved by pull request 8669
[https://github.com/apache/arrow/pull/8669]
> [Rust] Improve take benchmark
> -----------------------------
>
> Key: ARROW-10596
> URL: https://issues.apache.org/jira/browse/ARROW-10596
> Project: Apache Arrow
> Issue Type: Improvement
> Components: Rust
> Reporter: Jorge Leitão
> Assignee: Jorge Leitão
> Priority: Minor
> Labels: pull-request-available
> Fix For: 3.0.0
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> The take benchmark has three issues:
> 1. it is always taking the same element (indices is a constant vector), which
> is very easy to speculatively predict what the element is going to be.
> 2. It also does not compare with vs without nulls
> 3. all elements of the array are equal, which is again easy to speculatively
> predict
--
This message was sent by Atlassian Jira
(v8.3.4#803005)