timeit.timeit(stmt=in1d_func_sort, setup=setup, number=10000)
Hosted onDeepnote