Is converting to a set faster than `np.sort` and lookup by `np.searchsorted`?