NGeoNames icon indicating copy to clipboard operation
NGeoNames copied to clipboard

Is NearestNeighbourSearch() thread safe?

Open RolfHegr opened this issue 2 years ago • 1 comments

Hi!

Is the NearestNeighbourSearch method thread safe?

Couldnt find anything explicitly on this in the docs and it was not 100% clear for me after reading the code, so thought Id ask.

Thanks, Rolf

RolfHegr avatar Feb 27 '23 08:02 RolfHegr

It should be (at least when you're using it in a read-only fashion), but the actual implementation is in KdTree.

RobThree avatar Feb 27 '23 10:02 RobThree