I'm using a version of Solution 2 of the selected answer here to build a new shapefile of all points that fall within a given polygon object (i.e. a clip).
When run against 27K points, it takes about 9 minutes. In arcpy
it takes < 10 seconds.
I cant find any documentation on the Clip_analysis()
code (is it proprietary?) so I am curious as to how it can execute the checks of 27K so fast?
Is it multi-processed? Is it calling some type of map()
on the iterable of points?