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

spatial analyses - add optimisation for cases where nbr sets are always the same #304

Closed
GoogleCodeExporter opened this issue Mar 27, 2015 · 4 comments

Comments

@GoogleCodeExporter
Copy link

The sp_point_in_poly() and sp_point_in_poly_shape() subs both return the same 
set of neighbours for a given input.  In such cases we can cache the set of 
groups that occur in the polygons and access them directly in subsequent calls. 
 This avoids all the overheads of searching incurred when setting up the 
neighbour search.  

The risk is that some cases will not always be the same.  Need to allow the 
user to turn off the optimisations.  




Original issue reported on code.google.com by shawnlaffan on 25 Jun 2012 at 11:48

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