You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "David Sherrier (Jira)" <ji...@apache.org> on 2020/10/14 17:39:00 UTC
[jira] [Commented] (ARROW-5409) [C++] Improvement for IsIn Kernel
when right array is small
[ https://issues.apache.org/jira/browse/ARROW-5409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17214095#comment-17214095 ]
David Sherrier commented on ARROW-5409:
---------------------------------------
If no one is working on this, I would like to pick this up.
Thanks
> [C++] Improvement for IsIn Kernel when right array is small
> -----------------------------------------------------------
>
> Key: ARROW-5409
> URL: https://issues.apache.org/jira/browse/ARROW-5409
> Project: Apache Arrow
> Issue Type: Improvement
> Components: C++
> Reporter: Preeti Suman
> Priority: Major
> Fix For: 3.0.0
>
>
> The core of the algorithm (as python) is
> {code:java}
> for idx, elem in array:
> output[i] = (elem in memo_table)
> {code}
> Often the right operand list will be very small, in this case, the hashtable should be replaced with a constant vector.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)