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
Release the GIL for geometry-creating operations #156
Merged
Merged
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
131f124
WIP Releasing GIL on Y_Y operations
caspervdw adccf86
Finish impl for Y_Y
caspervdw dda1d55
Release GIL in Yd_Y_func and Yi_Y_func
caspervdw 9027dda
Add decorators
caspervdw 2c600b6
Buffer
caspervdw 622d5e8
Simplify geom_arr==NULL path
caspervdw 2212d4b
set operations (breaks reduce)
caspervdw b65a415
Working draft version for YY_Y without GIL
caspervdw 91a2de3
Revert "Working draft version for YY_Y without GIL"
caspervdw a7f6dad
Take 2; simpler approach
caspervdw 1abb0c0
Revert "Take 2; simpler approach"
caspervdw 63fd38d
Separate Y_YY_reduce function
caspervdw 9538e24
Delaunay triangles
caspervdw 84c833b
Voronoi polygons
caspervdw 5245090
Fix doctests and rearrange Y_YY_func_reduce
caspervdw 84388d5
PR Changes
caspervdw 97e5b3c
Clean commented out code
caspervdw 9a3d560
Comments and init pointers with NULL
caspervdw c7f4b7a
Docstrings
caspervdw 25fe256
Update src/ufuncs.c
caspervdw db9fd2e
Make snap release the GIL
caspervdw File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@caspervdw what do you think about moving this up below line 345, with a return immediately after? Something like:
Then the "happy path" becomes simpler:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the suggestion! The
errstate
variable doesn't exist outside of theGEOS_INIT
andGEOS_FINISH
, but I'll just set the python errorstate directly and return instead.