Re:How We Built Uber Engineering’s Highest Query per Second ...
by Mr_P on Sunday January 07, 2018 @07:02PM
(#16093604)
Seriously. S2 is just quadtrees over a cubemap, with a nice mapping from integers to cells.
So, instead of using a quadtree (because it's "complicated"), they chose to make their own two-level tree requiring O(N) linear scans at both levels, as opposed to O(1) with a simple trick.
So, instead of using a quadtree (because it's "complicated"), they chose to make their own two-level tree requiring O(N) linear scans at both levels, as opposed to O(1) with a simple trick.