Closed lior5654 closed 2 years ago
Hi, except for the addition of notFoundIdx
change, I'm good with this PR.
It's a preference of mine to return -1 for a "not found" result. Specifically for methods that perform zero-based index searches.
Hi, except for the addition of
notFoundIdx
change, I'm good with this PR.It's a preference of mine to return -1 for a "not found" result. Specifically for methods that perform zero-based index searches.
fixed in the last commit, can you approve now?
Cc: @tidwall
It'll take me a bit to merge. I need to run some manual tests locally first.
But otherwise, LGTM 👍
Significantly important in cases in which high performance is critical and a large count of objects (most of which could be outside the bounding box) are queried against a ring consisting of a high number of points