You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That algorithm is super slow, I noticed while benchmarking it. We could probably short-circuit it with a std::find for the first element of the needle. We should also consider starting from the end for bidirectional iterators if we don't already (looks like we don't).