forked from libgeos/geos
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid MonotoneChain self-compare in SimpleMCSweepLineIntersector
This is a hotspot in validity profiling. This commit reduces the runtime of GEOSisValid from 3.7s to 2.0s for the 5,489 polygons in the HydroBASINS level 5 dataset, and from 610ms to 360ms for the individual polygon components of the boundary of Australia in the GADM country dataset.
- Loading branch information
Showing
2 changed files
with
10 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters