[FEA] Performance - search contains using slow approach #3806
Labels
feature request
New feature or request
libcudf
Affects libcudf (C++/CUDA) code.
Performance
Performance related issue
Is your feature request related to a problem? Please describe.
The contains (scalar) implementation uses a known inefficient thrust call (find).
Describe the solution you'd like
Instead of doing a find and comparing the result to end(), we should do a count_if and return true if count_if > 0.
Describe alternatives you've considered
Additional context
The text was updated successfully, but these errors were encountered: