News for hackers. Stuff that matters.
Re:How We Built Uber’s Highest Query per Second Service Usin... by sesquipedalian on Tuesday March 01, 2016 @07:16PM (#11207263)
I've found that BSP trees are a quite elegant, albeit, more complicated alternative for handling point-in-polygon queries compared to raycasting. Essentially, it decomposes an arbitrary non-convex polygon into a binary tree of half-spaces. A point-in-poly test then just becomes a binary search.

That being said sometimes brute force is good enough.

There are no comments on this comment yet.