Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-5409

[C++] Improvement for IsIn Kernel when right array is small

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • C++

    Description

      The core of the algorithm (as python) is 

      for i, elem in array:
        output[i] = (elem in memo_table)
      

       Often the right operand list will be very small, in this case, the hashtable should be replaced with a constant vector. 

      Attachments

        1. set_lookup_benchmark
          21 kB
          David Sherrier

        Issue Links

          Activity

            People

              Unassigned Unassigned
              preeti_suman Preeti Suman
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated: