Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compared to which-polygon #48

Open
andrewharvey opened this issue May 20, 2021 · 2 comments
Open

compared to which-polygon #48

andrewharvey opened this issue May 20, 2021 · 2 comments

Comments

@andrewharvey
Copy link

A section of the readme which explains how this compared to https://github.com/mapbox/which-polygon would be helpful.

mapbox/which-polygon#15

@missinglink
Copy link
Member

Hi @andrewharvey, I've not used that Mapbox library but would also be interested in the similarities/differences, would you be up for writing that comparison?

@andrewharvey
Copy link
Author

Yeah I might work on a comparison, in the mean time I did a benchmark using 15,000 polygons, and 1000 point queries.

library time
pelias/polygon-lookup 19ms
mapbox/which-polygon 19ms
crosscutio/fast-point-in-poly 74,000ms

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants