Skip to content
Snippets Groups Projects
Commit d615c5a9 authored by Marco Biasini's avatar Marco Biasini
Browse files

improve performance of within with large radii

for large radii, the number of buckets that have to be looked at
when doing a HasWithin starts to dominate query performance. To
work around these cases we now do the following two things:

  -  store the bounding box for the buckets and intersect the cube
     of buckets which have to be traversed with the bounding box.
  -  when the number of buckets which have to be traversed gets
     larger than the total number of buckets in the organizer,
     loop over all buckets instead of looping over the cube.
parent 3799cfe0
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment