HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by bravo_sierra | Hacker News Reader
Parent
Full thread
bravo_sierra
·
For what? How?
View on HN
joshu
·
Hash the points into large tiles. Only calculate the nearby tiles, then find the items that are in the list of tiles (which is faster, due to being indexed.) Then use Haversine or whatever to filter.
Reply on news.ycombinator.com