Hi.

Basic question: suppose I have a SortedRange and want to find the index of the first entry of an array of structs matching a needle struct.

What's the best way to do that? It's not clear that countUntil treats a SortedRange specially.

I could get the lowerBound and then length or walkLength (can't remember which applies).

But I figure there must be a better way.

Thanks.


Laeeth.

Reply via email to