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