Only skip first result of radiusSearch if results are sorted - #5997
Conversation
The same was done for `extractEuclideanClusters` years ago: PointCloudLibrary#109 For ConditionalEuclideanClustering, I tested whether it is faster to require sorted results (and skip first entry), or not (and iterate over all results). The second option is much faster (took roughly 2/3 of the time of the first option in my test)
In the localmaximum filter, this is already fixed: #5572
Ah right, I kind of forgot about that pull request. For the classes I touched in this PR, it is not necessary to explicitly check whether the point is the query point ( |
The same was done for
extractEuclideanClustersyears ago: #109For ConditionalEuclideanClustering, I tested whether it is faster to require sorted results (and skip first entry), or not (and iterate over all results). The second option is much faster (took roughly 2/3 of the time of the first option in my test)