manuelbieh/geolib

Little optimization

alexeyvax opened this issue · 0 comments

Hi @manuelbieh!

I'm very glad to use geolib on my project, but I would like to do some optimization.
In the isPointInPolygon function I can see very long condition with functions which call 2 or 3 times. Would be great to call each function 1 time and set results to variable.

If this issue makes sense for you, I'm happy to create PR :)
Thanks!