I am trying to figure out an efficient way of finding row intersections of two np.arrays.
np.arrays
Two arrays have the same shapes, and duplicate values in each
I can't think of a clean pure-numpy solution, but the following suggestion should speed things up, potentially dramatically:
get_intersect1ds
@autojit
assume_unique = True