[FEA] Optimize the all-true and all-false cases in GPU If
and CaseWhen
#4350
Labels
performance
A performance related task/issue
If
and CaseWhen
#4350
We have the cases where the prediction produces all true or all false in a batch when running
GpuCaseWhen
andGpuIf
with the row-based UDF, which is an expensive operation. We can indeed skip the execution of the row-based UDF for such case to improve the performance.The text was updated successfully, but these errors were encountered: