forked from georust/geo
-
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.
994: faster intersects check r=frewsxcv a=michaelkirk - [x] I agree to follow the project's [code of conduct](https://github.com/georust/geo/blob/main/CODE_OF_CONDUCT.md). - [x] I added an entry to `CHANGES.md` if knowledge of this change could be valuable to users. --- The code change is only for the Rect intersection check, but other geometry types, like LineString and Polygon, leverage Rect::intersects, so we should see improvements in almost all of our disjoint intersection checks. cargo bench excerpt: MultiPolygon intersects time: [476.96 ms 477.13 ms 477.32 ms] change: [-8.4983% -8.3486% -8.2284%] (p = 0.00 < 0.05) Performance has improved. Rect intersects time: [27.498 µs 27.546 µs 27.598 µs] change: [-57.503% -57.444% -57.389%] (p = 0.00 < 0.05) Performance has improved. Co-authored-by: Michael Kirk <michael.code@endoftheworl.de>
- Loading branch information
Showing
3 changed files
with
56 additions
and
10 deletions.
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
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