Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When the number of point clouds is more than 400K,why does my code slow down? #235

Open
Sobre1018 opened this issue Mar 1, 2024 · 0 comments

Comments

@Sobre1018
Copy link

Hello,
thank you very much for the invention of the Nanoflann library, which solved many of our problems.
I'm having some problems. When the number of point clouds is less than 400K, when using knnSearch to find the 10 closest points of all points, Nanoflann+OpenMP is faster than PCL+openMP, but when the number of point clouds is greater than 400K, Nanoflann+OpenMP is slower or almost the same as PCL. Interestingly, if you search by radiusSearch, nanoflann is always faster than pcl::KdTreeFLANN. I would like to ask why this happens.
And please,how to solve it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant