[
https://issues.apache.org/jira/browse/ARROW-6355?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Pindikura Ravindra resolved ARROW-6355.
---------------------------------------
Fix Version/s: 0.15.0
Resolution: Fixed
Issue resolved by pull request 5195
[https://github.com/apache/arrow/pull/5195]
> [Java] Make range equal visitor reusable
> ----------------------------------------
>
> Key: ARROW-6355
> URL: https://issues.apache.org/jira/browse/ARROW-6355
> Project: Apache Arrow
> Issue Type: Improvement
> Components: Java
> Reporter: Liya Fan
> Assignee: Liya Fan
> Priority: Major
> Labels: pull-request-available
> Fix For: 0.15.0
>
> Time Spent: 5.5h
> Remaining Estimate: 0h
>
> According to the discussion in
> [https://github.com/apache/arrow/pull/4993#discussion_r316009165,] we often
> encountered this scenario: we compare values repeatedly. The comparisons
> differs only in the parameters (vector to compare, start index, etc).
>
> According to the current API, we have to create a new RangeEqualVisitor
> object each time the comparison is performed. This leads to non-trivial
> performance overhead.
>
> To address this problem, we make the RangeEqualVisitor reusable, and allow
> the client to change parameters of an existing visitor.
--
This message was sent by Atlassian Jira
(v8.3.2#803003)