It does indeed, I hadn't seen that. np.searchsorted is obviously significantly faster too - will change this.