Jorge Leitão created ARROW-10596:
------------------------------------

             Summary: [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


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)

Reply via email to